.
D 2004-11-28T15:14:09
J assignee dkf
J cmimetype text/plain
J comment Preparation:\screate\sa\sfile\sstarting\swith\stilde\n$\stouch\s./~foo\n\n$\stclsh8.4\n%\sinfo\spatchlevel\n8.4.6\n\nSetting\sand\susing\sa\sregular\sstring\svariable\swith\sthat\nfile\sname\sfails:\n%\sset\sfile\s~foo\n~foo\n%\sfile\stail\s$file\n\suser\s"foo"\sdoesn't\sexist\n\nUsing\sthe\sresult\sof\sglob\ssucceeds\sthough:\n%\sset\sfile2\s[lindex\s[glob\s*foo]\s0]\n~foo\n%\sfile\stail\s$file2\n./~foo\n\nThe\svariables\sfile\sand\sfile2\scompare\sequal,\sbut\sfile\ntail\sgives\sdifferent\sresults:\n%\sstring\sequal\s$file\s$file2\n1\n%\sfile\stail\s$file2\n./~foo\n%\sfile\stail\s$file\nuser\s"foo"\sdoesn't\sexist\n\nWhen\sthe\sglob-variable\sis\smanipulated\sin\sany\sway,\sthe\nfile\scommand\sfails,\stoo:\n%\sappend\sfile2\s{}\n~foo\n%\sfile\stail\s$file2\nuser\s"foo"\sdoesn't\sexist\n\nI\swould\shave\sexpected\sto\sget\sconsistent\sresults\sin\sall\ncases,\sregardless\sof\swhether\sthe\svariable\swas\sthe\nresult\sof\sa\sglob\sor\snot.\n\nR'
J foundin None
J priority 5\sMedium
J resolution None
J status Open
J submitter ralfixx
J subsystem 16.\sCommands\sA-H
J title handling\sof\s~\sin\svariables\sused\sas\sfile\snames
J type Bug
K 1074671fffffffffffffffffffffffffffffffff
U ralfixx
Z cdba813870f9595d407604fd9e242d3f