Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Comment found in 01grammar.ztst
- X-seq: zsh-workers 13735
 
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
 
- To: zsh-workers@xxxxxxxxxx
 
- Subject: Comment found in 01grammar.ztst
 
- Date: Fri, 23 Mar 2001 17:43:50 +0000
 
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
 
# Can someone convince me the following is really supposed to fail
# without the semicolon present?
  { cd /NonExistentDirectory >&/dev/null; } || print false
I'm not sure what "fail" means in the comment, but this should work the
same way in zsh without the semicolon.  Sh/ksh require the semicolon.
I double-checked that it *does* work the same way without the semicolon.
-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   
Messages sorted by:
Reverse Date,
Date,
Thread,
Author