Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Too many backslashes in doc example of msgcat

Closed / Fixed218890ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:07:16
OriginalBugID: 2548 Bug
Version: 8.2b2
SubmitDate: '1999-08-15'
LastModified: '1999-09-15'
Severity: LOW
Status: Released
Submitter: techsupp
ChangedBy: hobbs
OS: Other
Machine: NA
FixedDate: '1999-09-15'
FixedInVersion: 8.3b1
ClosedDate: '2000-10-25'


Name:
Thomas Andrews

ReproducibleScript:
# This is the line in the doc
    format "We produced %1\\$d units in location %2\\$s" 10 Chicago

ObservedBehavior:
Error message is:
    can't read "d": no such variable 
    
    Obviously, you just want one \ per $.
    
    This error is in the docs back to 8.0, at least.
    
    This can be seen in the Windows docs, or the online man
    page for msgcat.



Fixed for 8.3b1. 
-- 09/15/1999 hobbs
welch Closed ticket [218890ffff]. [History diff]2000-10-26 08:31:14
dgp Ticket [218890ffff]: 3 changes [History diff]2001-04-04 13:16:07
Log in (anonymous is fine) to add a comment.