summaryrefslogtreecommitdiff
path: root/tests/expr
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-02-22 14:56:58 +0000
committerJim Meyering <jim@meyering.net>2004-02-22 14:56:58 +0000
commitfdb3c26e8ec63b94924ebd181b145ee8f2e3dd63 (patch)
tree21f68d28889173f715924f28179b23de91a17cbf /tests/expr
parent5c8d1ad4f03a797ca48c784cb2f6d4f0fe770e73 (diff)
downloadcoreutils-fdb3c26e8ec63b94924ebd181b145ee8f2e3dd63.tar.xz
(eval, eval7, eval6, eval5, eval4, eval3, eval2, eval1):
Accept a bool argument specifying whether to evaluate the expression. This is to allow short-circuit evaluation. All callers changed. (null): Report that a string is zero even if it has a form like "-0" or "00". (eval1, eval): Use short-circuit evaluation for | and &. (eval): Return 0 if both arguments are null or zero, instead of returning the first argument.
Diffstat (limited to 'tests/expr')
0 files changed, 0 insertions, 0 deletions