Artifacts Associated With Ticket 3002987fffffffffffffffffffffffffffffffff
Ticket change [134d83b161] (rid 124190) by coldstore on 2010-05-17 22:46:04:
- assignee initialized to: "dkf"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Someone just reported to me that Windows [glob] returns files named .* under [glob *] This is quite inconvenient, as in this case we're running over a SVN checkout, with .svn directories all over. I'll have to further-filter the results from [glob] to exclude these. I'd suggest a -unix 1 option or something so I can make [glob] work just as it does under unix.
- foundin initialized to: "None"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "coldstore"
- subsystem initialized to: "16. Commands A-H"
- title initialized to: "new option for [glob] to behave like unix"
- type initialized to: "RFE"
Ticket change [4125594942] (rid 116135) by ferrieux on 2010-05-20 14:33:22:
- icomment:
Hmmm, what about being bold for once ? At the cost of a minor potential incompatibility, we could continue Tcl's (original) tradition of wiping out platform differences by fixing the Windows side instead of adding yet another platform-specific option... Is this cost deemed too high ?
- login: "ferrieux"
- mimetype: "text/plain"
- username: "ferrieux"
- icomment:
Ticket change [00b75e1bf5] (rid 119367) by dkf on 2010-05-20 15:46:09:
- icomment:
By default, [glob] doesn't return hidden files and [glob -types hidden] returns only hidden files. The *real* issue is that your SVN client isn't marking the .svn directories as hidden; that's not Tcl's bug!
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Ticket change [c315a21c3f] (rid 111594) by hobbs on 2010-05-21 23:49:42:
- icomment:
Agreed with dkf - Tcl is doing the "right" thing using native API speak. Windows has a way to mark files hidden, and Tcl recognizes that. Starting with '.' means nothing special on Windows. However, I think these kinds of x-platform peculiarities can and should be abstracted with per-interp vars, like ::tcl::hideDotFiles or something, that control this kind of behavior. The extra C cost would be negligible, and it would ease overall coding. Tcl OS X has several such items, but we haven't done it for more platforms. Maybe it should be tcl::win::hideDotFiles and we can start building these up.
- login: "hobbs"
- mimetype: "text/plain"
- username: "hobbs"
- icomment: