Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

[Q] A mystery (at least for me ...)



	HI!

I have something weird in zsh 3.0.5:

verna(pts/6) 143 % hostname
metheny
verna(pts/6) 144 % if echo toto | grep tata ; then echo SUCCESS ; fi      
zsh: done       echo toto | 
zsh: exit 1     grep tata
verna(pts/6) 145 % if echo toto | grep `hostname` ; then echo SUCCESS ; fi  
SUCCESS
verna(pts/6) 146 % if (echo toto | grep `hostname`) ; then echo SUCCESS ; fi
zsh: exit 1     ( echo toto | grep `hostname` )


	Is it a known bug in this version,or am I missing something ? 

Thanks
-- 
    /     /   _   _       Didier Verna        http://www.inf.enst.fr/~verna/
 - / / - / / /_/ /      E.N.S.T. INF C201.1      mailto:verna@xxxxxxxxxxx
/_/ / /_/ / /__ /        46 rue Barrault        Tel.   (33) 01 45 81 73 46
                      75634 Paris  cedex 13     Fax.   (33) 01 45 81 31 19



Messages sorted by: Reverse Date, Date, Thread, Author