diff options
author | Alex Musolino <alex@musolino.id.au> | 2021-02-06 15:51:09 +1030 |
---|---|---|
committer | Alex Musolino <alex@musolino.id.au> | 2021-02-06 15:51:09 +1030 |
commit | b562b269cea44e09d3c642b1a9452e16bd8ce3b5 (patch) | |
tree | 6d61ec296ad06324200ca7a6fb6d41213a05aae0 /sys/man/1/test | |
parent | 4ec97f73ee2326209bc56730562e82f2e6fe2c0a (diff) |
test: fix expression parser
The old parser code was rubbish and only worked for trivial
expressions. The new code properly handles complex expressions,
including short circuit evaluation.
As such, the BUGS section has been removed from the test(1) man page.
The description of an unimplemented feature has also been removed.
Diffstat (limited to 'sys/man/1/test')
-rw-r--r-- | sys/man/1/test | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/sys/man/1/test b/sys/man/1/test index 8feabf19a..3ea005b9d 100644 --- a/sys/man/1/test +++ b/sys/man/1/test @@ -100,11 +100,6 @@ or .BR -le may be used in place of .BR -eq . -The (nonstandard) construct -.BI -l " string\f1, -meaning the length of -.IR string , -may be used in place of an integer. .TP .IB a " -nt " b True if file @@ -209,10 +204,3 @@ is in the current directory. .B /sys/src/cmd/test.c .SH "SEE ALSO" .IR rc (1) -.SH BUGS -Won't complain about extraneous arguments -since there may be arguments left unprocessed by -short-circuit evaluation of -.B -a -or -.BR -o . |