Overview
| Artifact ID: | 746bec3fd69741f76b9b387009aab9fda1657ae3 |
|---|---|
| Ticket: | 913536ffffffffffffffffffffffffffffffffff
windows: Glob returns [file normalize]'d paths |
| User & Date: | p_samson on 2004-03-10 15:01:24 |
Changes
- assignee changed to: "dkf"
- cmimetype changed to: "text/plain"
- comment changed to:
OS: Windows/Cygwin % set a [file join / var tmp *] /var/tmp/* % set b [glob $a] {D:/cygwin/var/tmp/errors} D:/cygwin/var/tmp/p.log From the glob documentation (8.4.5), I expected: {/var/tmp/errors} /var/tmp/p.log So, without the windows style such as provided (as expected) by file normalize. % file normalize /var/tmp/errors D:/cygwin/var/tmp/errors This behaviour brokes a script designed on a Unix box: A [lsearch -exact] between a result of a [split [glob [file join ...]]] and a [file join ...] The glob introduces the windows drive but not the file join. It may be the normal behaviour. If so, I think it should be more clear in the doc. - foundin changed to: "obsolete: 8.4.1"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "p_samson"
- subsystem changed to: "16. Commands A-H"
- title changed to: "windows: Glob returns [file normalize]'d paths"
- type changed to: "Bug"