Overview
| Artifact ID: | f845dcb1797eeefc054f95878d57e2220260898d |
|---|---|
| Ticket: | 541989ffffffffffffffffffffffffffffffffff
trailing dots '...' ignored in filenames |
| User & Date: | vincentdarley on 2002-04-10 14:08:34 |
Changes
- assignee changed to: "hobbs"
- cmimetype changed to: "text/plain"
- comment changed to:
Trailing dots in filenames are stripped off. I'm assuming this is not a bug in Tcl (since I know the filesystem code pretty well, and this occurs in both 8.3 and 8.4), so I think it's a bug in the filename.n man page, which doesn't mention this "feature" at all. [my comments below have been added like this] % set fn "C:/WINNT/Profiles/VinceD/Alpha- v8/tmp/wikitmp/Edit Ask, and it shall be given." C:/WINNT/Profiles/VinceD/Alpha-v8/tmp/wikitmp/Edit Ask, and it shall be given. % file attributes $fn -longname C:/WINNT/Profiles/VinceD/Alpha-v8/tmp/wikitmp/Edit Ask, and it shall be given [the longname is missing the trailing '.'] % file attributes $fn -shortname C:/WINNT/Profiles/VinceD/Alpha-v8/tmp/wikitmp/EDITAS~1 % cd [file dirname $fn] % glob * {Edit Ask, and it shall be given} [oh! the file on disk actually doesn't have the dot] % file exists $fn 1 % file exists $fn. 1 % file exists $fn.... 1 % file exists $fn....... 1 % info tclversion 8.3 % file exists $fn.......x 0 % file exists $fn........ 1 % close [open $fn.... r] % close [open "${fn}dup....." w] % glob * {Edit Ask, and it shall be given} {Edit Ask, and it shall be given.dup} % - foundin changed to: "obsolete: 8.3.4"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "vincentdarley"
- subsystem changed to: "37. File System"
- title changed to: "trailing dots '...' ignored in filenames"
- type changed to: "Bug"