Overview
| Artifact ID: | e885c4d11a496470176678c1561d84d0e21a2566 |
|---|---|
| Ticket: | 3559678fffffffffffffffffffffffffffffffff
[file normalize] fails EIAS |
| User & Date: | phao1989 on 2012-08-20 01:40:58 |
Changes
- assignee changed to: "vincentdarley"
- cmimetype changed to: "text/plain"
- comment changed to:
Command/subcommand file normalize won't normalize some elements of glob's path list. The expected behavior is to have that trailing '/' character removed, and it is not being removed. Here is some small code (output commented in the end): [http://pastie.org/4552920]. However, if I ask for the string length of the list element, then it works: [http://pastie.org/4552993]. That a simple test case provided by kbk in IRC (#tcl, irc.freenode.com). [22:38] <ijchain> <kbk> % file normalize [lindex [glob -dir [pwd] {{}}] 0] [22:38] <ijchain> <kbk> /home/kennykb/fred/ [22:38] <ijchain> <kbk> % file normalize [join [glob -dir [pwd] {{}}] ""] [22:38] <ijchain> <kbk> /home/kennykb/fred I am on Windows 7, TCL Version is 8.6b2. - foundin changed to: "obsolete: 8.6b2"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "phao1989"
- subsystem changed to: "36. Pathname Management"
- title changed to: "cmd/sub file normalize won't do in glob's result"
- type changed to: "Bug"