Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 5346b178518fe27f7dd64ef7d6764c9a7489a8fc
Ticket: 218941ffffffffffffffffffffffffffffffffff
"format" command produces errorneous result
User & Date: nobody on 2000-10-26 01:08:17
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 2859 Bug
    Version: 8.2
    SubmitDate: '1999-09-21'
    LastModified: '1999-09-21'
    Severity: MED
    Status: Released
    Submitter: techsupp
    ChangedBy: hobbs
    OS: Windows NT
    Machine: X86
    FixedDate: '1999-09-21'
    FixedInVersion: 8.2.1
    ClosedDate: '2000-10-25'
    
    
    Name:
    Hai S. Vu
    
    ReproducibleScript:
    The following command
        % format "%07s" "123"
        returns string "    123" (leading spaces)
        instead of string "0000123" (leading zeros)
        I didn't have this problem in TCL 8.0
    
    
    
    This is actually user error, as our docs and the ANSI spec
    both leave this behavior as undefined.  With 8.2.1, the
    user will see 0s, but this is still officially 'undefined'. 
    -- 09/21/1999 hobbs
    
  4. foundin changed to: "obsolete: 8.2"
  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: ""format" command produces errorneous result"
  11. type changed to: "Bug"