Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 4fdeb7f7c1c3a2d5e423e5f1baa04f7764ed90f6fbfd0004060650fa6a9dcafb
Ticket: 7eb6b3a53f963364c3c6f29d7622d70ddf8dd610
glob on UNC path requires additional slash
User & Date: oehhar on 2026-05-31 16:18:59
Changes

  1. icomment:
    At least this is reasonable, thanks Ashok for looking into this.
    
    Perhaps we can add something to the documentation:
    
    Native Windows path ({C:\test}) may only be used for the -directory and -path options.
    The glob pattern argument should use the forward slash as separator for unique results.
    Background is the ambiguity of the backslash character, which may escape a glob character ("\*" to specify a literal "*" character). So, for "glob {C:\test\*}", it is not clear, if the last backslash is a path separator or an escaped glob character. 
    
    Take care,
    Harald
    
  2. login: "oehhar"
  3. mimetype: "text/x-fossil-wiki"
  4. username: "oehhar"