|
2001-04-18
| ||
| 06:36 | • Ticket [218257ffff] expr misbehaves with strings status still Closed with 3 ... artifact: 824720abba user: dgp | |
|
2000-10-26
| ||
| 08:17 | • Closed ticket [218257ffff]. artifact: 4074e94092 user: welch | |
| 00:55 | • New ticket [218257ffff]. artifact: 79cd64569b user: nobody | |
expr misbehaves with strings
Closed / Fixed218257ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:55:08
OriginalBugID: 3079 Bug
Version: 8.1
SubmitDate: '1999-10-11'
LastModified: '1999-10-19'
Severity: MED
Status: Closed
Submitter: techsupp
ChangedBy: hobbs
OS: Windows 98
Machine: X86
FixedDate: '2000-10-25'
ClosedDate: '1999-10-19'
Name:
Arjen Markus
ReproducibleScript:
set a "AA"
set b "BB"
expr $a == $b
-- syntax error in expression "AA == BB"
expr { $a == $b }
0
-- Not in accordance with manual! Or did I miss something?
DesiredBehavior:
expr $a == $b
0
This is not in conflict with the man page (the man page is quiet
on this point). The section on STRING OPERATIONS specifically
braces the exprs, as is required.
-- 10/19/1999 hobbs
welch Closed ticket [218257ffff].
[History diff]2000-10-26 08:17:56
dgp Ticket [218257ffff]: 3 changes
[History diff]2001-04-18 06:36:54
Log in (anonymous is fine) to add a comment.