zsh-workers
 help / color / mirror / code / Atom feed
* Comment found in 01grammar.ztst
@ 2001-03-23 17:43 Bart Schaefer
  0 siblings, 0 replies; only message in thread
From: Bart Schaefer @ 2001-03-23 17:43 UTC (permalink / raw)
  To: zsh-workers

# 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   


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-03-23 17:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-23 17:43 Comment found in 01grammar.ztst Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).