.
D 2005-08-09T17:58:17
J assignee vincentdarley
J cmimetype text/plain
J comment When\sthe\sresult\sof\sa\scall\sto\s[glob]*\sis\sstored\sin\sa\nvariable,\sand\sthen\s[file\srootname]\sis\sperformed\son\sany\nlist\selement\sstored\sin\sthat\svariable,\s[file\srootname]\nfails\sto\sremove\sthe\sfile\sextension\sof\sthe\slist\selement.\n\nThe\sfollowing\sscript\sdemonstrates\sthe\serror\s(pathnames\nmay\sneed\sto\sbe\sadjusted):\n\n#\sthe\sfollowing\sfails\nset\sfiles\s[glob\sd:/temp/p*]\nforeach\sfile\s$files\s{\n\s\s\s\sputs\s[file\srootname\s$file]\n}\n\n#\sthe\sfollowing\ssucceeds\nforeach\sfile\s[glob\sd:/temp/p*]\s{\n\s\s\s\sputs\s[file\srootname\s$file]\n}\n\n#\sthe\sfollowing\sfails\nforeach\sfile\s[lsort\s-dictionary\s[glob\sd:/temp/p*]]\s{\n\s\s\s\sputs\s[file\srootname\s$file]\n}\n\n\n*Donal\sFellows\snotes\son\sc.l.t.\s:\n\n"the\sdirectory\smust\sbe\sspecified\s(either\sin\sthe\spattern\nor\sthrough\sthe\s-directory\sflag)\sand\s'glob\scharacters'\nmust\sbe\spresent\sin\sthe\sinput\sto\s[glob]\sto\strigger\sthe\sbug."
J foundin obsolete:\s8.5a3
J priority 5\sMedium
J resolution None
J status Open
J submitter aric_b
J subsystem 36.\sPathname\sManagement
J title [file\srootname]\sfailure
J type Bug
K 1255156fffffffffffffffffffffffffffffffff
U aric_b
Z 3cda2f57222c4628c2685b10538732f4