Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 4bad70019e20ada6ddd95f842822b62650232ad6
Ticket: 1438236fffffffffffffffffffffffffffffffff
UNIX vs DOS Slashes
User & Date: dgp on 2006-02-27 22:38:07
Changes

  1. icomment:
    Logged In: YES 
    user_id=80530
    
    
    If you are going to put a literal 
    backslash character in the value
    of TCLLIBPATH, you will need to
    enclose the list element containing
    that character with braces.  Try:
    
    set TCLLIBPATH={%MYDIR%/path/to/my/packages}
    {%MYDIR%/another/path}
    
    Contrary to your claim, this is not easier
    to correct within Tcl than outside, because
    the "correction" you are asking for, is really
    to make a "guess" as to what the input "means".
    Somehow you want Tcl to guess when the backslashes
    are supposed to be literal, and when they are supposed
    to have Tcl's normal substitution rules.
    
    This kind of Do What I Mean interface always
    eventually leads to trouble when a different
    context makes the guesses wrong.
    
    Follow the rules and Say What You Mean.
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. resolution changed to: "Rejected"
  5. status changed to: "Closed"
  6. username: "dgp"