Overview
| Artifact ID: | c2f76a32390ee585ebafe733b305e17d79f96677 |
|---|---|
| Ticket: | 218310ffffffffffffffffffffffffffffffffff
expr command not substituting operator |
| User & Date: | nobody on 2000-10-26 00:55:59 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
OriginalBugID: 3697 Bug Version: 8.2 SubmitDate: '1999-11-29' LastModified: '1999-11-29' Severity: LOW Status: Closed Submitter: techsupp ChangedBy: hobbs OS: Windows NT OSVersion: Windows NT 4 FixedDate: '2000-10-25' ClosedDate: '1999-11-29' Name: Jay Schmidgall ReproducibleScript: set opr + set x 5 set y 15 expr $x $opr $y ;# this works expr {$x $opr $y} ;# this doesn't work ObservedBehavior: The line which doesn't work gives the error: syntax error in expression "$x $opr $y" DesiredBehavior: I would expect to get the answer, 15. expr needs to know about operators ahead of time (early error detection), which is why the first, which does one level of substitution first, works. -- 11/29/1999 hobbs - foundin changed to: "obsolete: 8.2"
- 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 command not substituting operator"
- type changed to: "Bug"