zsh-users
 help / color / mirror / code / Atom feed
From: James Devenish <j-devenish@users.sourceforge.net>
To: zsh-users@sunsite.dk
Subject: Re: Possible bug in zsh
Date: Fri, 2 Jan 2004 09:32:26 +0800	[thread overview]
Message-ID: <20040102013226.GB4498@mail.guild.uwa.edu.au> (raw)
In-Reply-To: <20040101233856.GA13263@blorf.net>

In message <20040101233856.GA13263@blorf.net>
on Thu, Jan 01, 2004 at 03:38:56PM -0800, Wayne Davison wrote:
> On Mon, Dec 29, 2003 at 01:21:22AM -0800, Wayne Davison wrote:
> > false; if eval ''; then echo one; fi    [...fails...]
> > true; if eval ''; then echo two; fi     [...succeeds...]
> 
> I'm hoping that someone more familiar with the exec internals will jump
> in here, but in the meantime, here's the change I made back on Monday to
> fix this bug:

Is it really a bug? Doesn't ksh offer this as the preferred behaviour by
default in the absence of the 'posix' option? But it seems like an
oversight that zsh doesn't give you the ability to have the POSIX
behaviour. Perhaps this is one of the featurebugs that makes zsh
unsuitable as /bin/sh. Some zsh scripts might depend on zsh's current
behaviour.



  reply	other threads:[~2004-01-02  1:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-29  8:02 Vincent Stemen
2003-12-29  9:21 ` Wayne Davison
2004-01-01 23:38   ` Wayne Davison
2004-01-02  1:32     ` James Devenish [this message]
2004-01-03 23:09     ` Vincent Stemen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040102013226.GB4498@mail.guild.uwa.edu.au \
    --to=j-devenish@users.sourceforge.net \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).