Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: da18b704522b8fdd5c2f01492ffa51e5aa3a32c4
Ticket: 898238ffffffffffffffffffffffffffffffffff
glob with drive relative path fails
User & Date: royterry on 2004-02-16 19:41:21
Changes

  1. assignee changed to: "vincentdarley"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Compare these two glob commands given
    on Windows 2000 from the MKS Korn shell
    
    771 C:/p/airvid/img/c2> tclsh84
    % glob /p/airvid/img/c2/*gif
    /p/airvid/img/c2/12.00.00f.gif /p/airvid/img/c2/12.00.00t.
    gif /p/airvid/img/c2/12.00.01f.gif /p/airvid/img/c2/12.00.0
    1t.gif /p/airvid/img/c2/12.00.02f.gif /p/airvid/img/c2/12.0
    0.02... (more files truncated)
    % exit
    773 C:/p/airvid/img/c2> tclsh85
    % glob /p/airvid/img/c2/*gif
    no files matched glob pattern "/p/airvid/img/c2/*gif"
    
    % glob c:/p/airvid/img/c2/*gif
    c:/p/airvid/img/c2/12.00.00f.gif 
    c:/p/airvid/img/c2/12.00.00t.gif 
    c:/p/airvid/img/c2/12.00.01f.gif 
    c:/p/airvid/img/c2/12.00.01t.gif 
    c:/p/airvid/img/c2/12.00.02f.gif c:/p/airvid/img
    /c2/12.00.02t.gif c:/p/airvid/img/c2/12.00.03f.gif 
    c:/p/airvid/img/c2/12.00.03t.gif 
    c:/p/airvid/img/c2/12.00.04f.gif 
    c:/p/airvid/img/c2/12.00.04t.gif 
    c:/p/airvid/img/c2/12.00.05f.gif ... (more files truncated)
    
    It seems quite apparent that the windows glob no longer
    works right on patterns that begin with slash.
    
    This install was built from snapshot file: 
    tcl-20040213.tar.gz
    
    Regards and thanks,
    Roy Terry
    
  4. foundin changed to: "obsolete: 8.5a0"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "royterry"
  9. subsystem changed to: "37. File System"
  10. title changed to: "glob with drive relavative path fails"
  11. type changed to: "Bug"