Overview
| Artifact ID: | 56ae7c53e74d4beb34fc5d835506c2b30beaf6db |
|---|---|
| Ticket: | 218160ffffffffffffffffffffffffffffffffff
expr fails |
| User & Date: | nobody on 2000-10-26 00:53:56 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
OriginalBugID: 2194 Bug Version: 8.0.4 SubmitDate: '1999-06-07' LastModified: '1999-08-08' Severity: LOW Status: Closed Submitter: techsupp ChangedBy: hobbs OS: Solaris OSVersion: 2.6 Machine: Other FixedDate: '2000-10-25' ClosedDate: '1999-08-08' Name: steve szabo Extensions: none CustomShell: none ReproducibleScript: safina $ tcl tcl> puts [ expr 00 + 1 ] 1 tcl> puts [ expr 01 + 1 ] 2 tcl> puts [ expr 02 + 1 ] 3 tcl> puts [ expr 03 + 1 ] 4 tcl> puts [ expr 04 + 1 ] 5 tcl> puts [ expr 05 + 1 ] 6 tcl> puts [ expr 06 + 1 ] 7 tcl> puts [ expr 07 + 1 ] 8 tcl> puts [ expr 08 + 1 ] Error: syntax error in expression "08 + 1" tcl> puts [ expr 09 + 1 ] Error: syntax error in expression "09 + 1" tcl> puts [ expr 10 + 1 ] 11 tcl> puts [ expr 11 + 1 ] 12 tcl> puts [ expr 12 + 1 ] 13 tcl> puts [ expr 13 + 1 ] 14 ObservedBehavior: expr dies on 08 + 1 or 09 + 1 As specified in the expr man page, numbers beginning with 0 are interpreted as octal, for which 08 and 09 are invalid. -- 08/08/1999 hobbs - foundin changed to: "obsolete: 8.0.4"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "69. Other"
- title changed to: "expr fails"
- type changed to: "Bug"