Overview
| Artifact ID: | 9437c2e8861bc714672313eac5801225649e41ca |
|---|---|
| Ticket: | 219392ffffffffffffffffffffffffffffffffff
glob manual page could be more helpful about behaviour on wi |
| User & Date: | nobody on 2000-10-26 05:12:16 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
OriginalBugID: 6165 Bug Version: 8.3.2 SubmitDate: '2000-08-24' LastModified: '2000-10-25' Severity: LOW Status: UnAssn Submitter: techsupp OS: All FixedDate: '2000-10-25' ClosedDate: '2000-10-25' Name: Steve Cassidy ObservedBehavior: The glob command behaves counter-intuitively with windows style path patterns. This is just a small addition to the manual page to point out this behaviour and suggest a work around. Patch: *** ../../../8.4/tcl/doc/glob.n Wed Jan 26 14:37:30 2000 --- glob.n Thu Aug 24 11:51:04 2000 *************** *** 146,151 **** --- 146,163 ---- domain server. Otherwise, user account information is obtained from the local computer. On Windows 95 and 98, \fBglob\fR accepts patterns like ``.../'' and ``..../'' for successively higher up parent directories. + + . + Since the backslash character has a special meaning to the glob + command, glob patterns containing Windows style path separators need + special care. The pattern \fIC:\e\efoo\e\e*\fR is interepreted as + \fIC:\efoo\e*\fR where \fI\ef\fR will match the single character \fIf\fR + and \fI\e*\fR will match the single character \fI*\fR and will not be + interpreted as a wildcard character. One solution to this problem is + to use the Unix style forward slash as a path separator. Windows style + paths can be converted to Unix style paths with the command \fB[eval + file join [file split $path]]\fR. + .TP \fBMacintosh\fR . PatchFiles: doc/glob.n
- foundin changed to: "obsolete: 8.3.2"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "69. Other"
- title changed to:
glob manual page could be more helpful about behaviour on wi
- type changed to: "Bug"