summary refs log tree commit diff
path: root/src/funcs/popd
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2014-09-28 18:40:18 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2014-09-28 18:40:18 +0800
commit4f7e4c8201e580b9d31c09d8a484741072033c01 (patch)
tree2ec700c405904ae054398ec76ebe1819ef49b898 /src/funcs/popd
parentRelease 0.5.8. (diff)
downloaddash-4f7e4c8201e580b9d31c09d8a484741072033c01.tar.gz
dash-4f7e4c8201e580b9d31c09d8a484741072033c01.zip
[BUILTIN] Correctly handle test ! ! = !
This patch adds a special case in testcmd for the 4-argument
expression beginning with a !.  Without this ! ! = ! is deemed
a syntax error, which breaks POSIX.

Note that this special case does not extend down into subexpressions
so if ! ! = ! is used inside parentheses then a syntax error will
still occur as before.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'src/funcs/popd')
0 files changed, 0 insertions, 0 deletions
8b19cbbf60a55f1930ea&follow=1'>Add facebook and twitter to title user-agentJune McEnroe This fixes fetching tweets again! https://github.com/thelounge/thelounge/pull/ 3602 (Intentionally breaking the link so GitHub doesn't add a "referenced this PR" thing?) 2020-06-30Tweak causal.agency for mostly no reasonJune McEnroe 2020-06-30Add Ancillary JusticeJune McEnroe 2020-06-26Add password non-manager to planJune McEnroe I've had this idea for years... 2020-06-26Tweak TF2 sensitivities once moreJune McEnroe 2020-06-19Add note about litterbox bot useJune McEnroe 2020-06-19Publish "IRC suite"June McEnroe 2020-06-17Add errors to link.shJune McEnroe