Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: cd2acae6da1f96201a231bb0d8fc2ed49180f5c3
Ticket: 218519ffffffffffffffffffffffffffffffffff
Error in documentation of glob command
User & Date: nobody on 2000-10-26 01:01:37
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 862 Bug
    Version: 8.0p2
    SubmitDate: '1998-11-25'
    LastModified: '1999-04-09'
    Severity: LOW
    Status: Released
    Submitter: pat
    ChangedBy: surles
    OS: All
    OSVersion: NA
    Machine: NA
    FixedDate: '1999-04-09'
    FixedInVersion: 8.1b3
    ClosedDate: '2000-10-25'
    
    
    Date: Tue, 27 Oct 1998 01:53:15 -0800 (PST)
    To: [email protected]
    Subject: Error in documentation of glob command
    From: [email protected]
    Status: O
    
    Tcl 8.0p2 Bug
    email:  [email protected]
    Severity:  4
    Support:  None
    OperatingSystem:  Windows 95
    Extensions:  TclX, Stooop
    Synopsis:  Error in documentation of glob command
    
    ReproducibleScript:
    Start wish 8.0p2 on Win95.
    % glob [file nativename c:/windows/*]
    no files matched glob pattern "c:\windows\*"
    % glob c:/windows/*
    [long list of files]
    
    ObservedBehavior:
    The man page for glob states that "the glob command only accepts native names".  It appears that the opposite is true: that glob accepts only network names.
    
    
    
    04/09/1999 14:07 - surles - This is not a bug.  The real error returned in the above example is:
        "no files matched glob pattern "c:windows""
    Notice that the backslash is gone.  This is because of the way Tcl interprets strings.  The correct string to pass to glob would be "c:\\windows" so the \ is not interpreted as a special char.
    
    In either case, it appears that glob takes either form and converts accordingly.  The docs have been updated to state this.
    
    
    
  4. foundin changed to: "obsolete: 8.0p2"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "46. Traces"
  10. title changed to: "Error in documentation of glob command"
  11. type changed to: "Bug"