Artifacts Associated With Ticket 1074671fffffffff
Ticket change [1f5e42fdcd] (rid 91135) by ralfixx on 2004-11-28 15:14:09:
- assignee initialized to: "dkf"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Preparation: create a file starting with tilde $ touch ./~foo $ tclsh8.4 % info patchlevel 8.4.6 Setting and using a regular string variable with that file name fails: % set file ~foo ~foo % file tail $file user "foo" doesn't exist Using the result of glob succeeds though: % set file2 [lindex [glob *foo] 0] ~foo % file tail $file2 ./~foo The variables file and file2 compare equal, but file tail gives different results: % string equal $file $file2 1 % file tail $file2 ./~foo % file tail $file user "foo" doesn't exist When the glob-variable is manipulated in any way, the file command fails, too: % append file2 {} ~foo % file tail $file2 user "foo" doesn't exist I would have expected to get consistent results in all cases, regardless of whether the variable was the result of a glob or not. R' - foundin initialized to: "None"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "ralfixx"
- subsystem initialized to: "16. Commands A-H"
- title initialized to: "handling of ~ in variables used as file names"
- type initialized to: "Bug"
Ticket change [c2b23200ce] (rid 111526) by dkf on 2004-11-29 00:13:10:
- assignee changed to: "vincentdarley"
- foundin changed to: "obsolete: 8.4.6"
- subsystem changed to: "37. File System"
Ticket change [8da13a43e6] (rid 127965) by vincentdarley on 2004-12-03 01:46:16:
- closedate changed to: "2004-12-02T18:46:16"
- closer changed to: "vincentdarley"
- icomment:
Logged In: YES user_id=32170 Fixed (in 8.4 and 8.5) -- thanks!
- login: "vincentdarley"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "vincentdarley"