Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 32a7d7dee5d1454064edde62e0646f40f3cca3ed
Ticket: 218059ffffffffffffffffffffffffffffffffff
concat trims trailing \n
User & Date: nobody on 2000-10-26 00:52:40
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 1483 Bug
    Version: 8.0.4
    SubmitDate: '1999-03-11'
    LastModified: '1999-08-07'
    Severity: MED
    Status: Closed
    Submitter: pat
    ChangedBy: hobbs
    OS: Solaris
    Machine: Other
    FixedDate: '2000-10-25'
    ClosedDate: '1999-08-07'
    
    
    Name:
    Nancy Aten
    
    Extensions:
    none
    
    CustomShell:
    none
    
    ReproducibleScript:
        pearl> tclsh
        tclsh
        % concat "a\n"
        a
        % concat "a\nb"
        a
        b
        
        
    
    
    
    ObservedBehavior:
        \n's disappear. More:
        
        % set x a\n
        a
        
        % concat "a\n" b 
        a b
        % concat a\n b
        a b
        % concat a \n b
        a b
        % concat "a \n b"
        a 
         b
        % list a \n b
        a {
        } b
        % concat a\nb
        a
        b
        
        
    
    
    
    DesiredBehavior:
        I expect to see:
        % concat "a\n"
        a
        
        %
        
    
    
    
    
    This is the defined and documented behavior, that white space is
    trimmed from each arg (although internal whitespace is preserved). 
    -- 08/07/1999 hobbs
    
  4. foundin changed to: "obsolete: 8.0.4"
  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: "69. Other"
  10. title changed to: "concat trims trailing \n"
  11. type changed to: "Bug"