Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ce45fd8a66ddd08f652abe327f557743948be246
Ticket: 1292143fffffffffffffffffffffffffffffffff
glob does not accept backslash for directory separtor
User & Date: dgp on 2005-09-16 00:09:38
Changes

  1. assignee changed to: "dgp"
  2. closedate changed to: "2005-09-15T17:09:38"
  3. closer changed to: "dgp"
  4. icomment:
    Logged In: YES 
    user_id=80530
    
    
    I think this excerpt from 
    glob.n explains it:
    
    "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 interpreted 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
    \fBfile
    join $path\fR (or \fBfile normalize $path\fR in Tcl 8.4)."
    
    
  5. login: "dgp"
  6. mimetype: "text/plain"
  7. resolution changed to: "Invalid"
  8. status changed to: "Pending"
  9. username: "dgp"