bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

reporting of "{x" non ideal


From: Dan Jacobson
Subject: reporting of "{x" non ideal
Date: 28 Nov 2001 04:30:47 +0800
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

$ test a||{false;true;}&&echo $?
bash: syntax error near unexpected token `&'

no it's not, it's near "{", and bash not more precisely telling me
just sent me on a 15 minute wild goose chase.

 1021  test a||{false;true;}&&echo $?
 1022  test a||{false;true;} &&echo $?
 1023  test a||{false;true;}|wc
 1024  test a|{false;true;}|wc
 1025  {false;true;}|wc
 1026  test a||{ false;true;}&&echo $? #oh, ok
-- 
http://www.geocities.com/jidanni/ Tel+886-4-25854780



reply via email to

[Prev in Thread] Current Thread [Next in Thread]