Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 27e685f6fdc12bd17c87b1efa7b15bde9bf26140
Ticket: 1996158fffffffffffffffffffffffffffffffff
bad naming of ..TM_PATH variables
User & Date: nobody on 2008-06-17 14:15:33
Changes

  1. assignee changed to: "hobbs"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    The tcl module implementation encourages to
    use environment variables like TCL8.5_TM_PATH.
    
    Unfortunately, the naming of variable names in
    the "bourne again shell" (bash) is limited to
    alpahnumeric characters, including '_'.
    
    Attempts to assign values to a variable with
    a name containing a dot-character, as requested
    by the "tcl module" functionality, fails if the
    assignment is done by a shell command, like
    
      export TCL8.5_TM_PATH=/home/xx/my_modules
    
    I consider this a severe bug for all those who
    are going to prefer the "tcl module" approach when
    looking up for packages.
    
    Proposal:
    ---------
    
    Use '_' instead of '.', i.e. say TCL8_5_TM_PATH
    instead of TCL8.5_TM_MODULE.
    
    Possibly that needs only a change of one line in
    file tm.tcl and some editing of the documentation.
    
    
    
    
  4. foundin changed to: "obsolete: 8.5.2"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "nobody"
  10. subsystem changed to: "08. Environment Variables"
  11. title changed to: "bad naming of ..TM_PATH variables"
  12. type changed to: "Bug"