]> git.lizzy.rs Git - plan9front.git/commit
test: fix expression parser
authorAlex Musolino <alex@musolino.id.au>
Sat, 6 Feb 2021 05:21:09 +0000 (15:51 +1030)
committerAlex Musolino <alex@musolino.id.au>
Sat, 6 Feb 2021 05:21:09 +0000 (15:51 +1030)
commitb562b269cea44e09d3c642b1a9452e16bd8ce3b5
tree6d61ec296ad06324200ca7a6fb6d41213a05aae0
parent4ec97f73ee2326209bc56730562e82f2e6fe2c0a
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.
sys/man/1/test
sys/src/cmd/test.c