DASH Shell discussions
 help / color / mirror / Atom feed
From: Chet Ramey <chet.ramey@case.edu>
To: Jilles Tjoelker <jilles@stack.nl>, dash@vger.kernel.org
Cc: chet.ramey@case.edu
Subject: Re: exec command and error checking
Date: Tue, 28 Jan 2014 22:19:51 -0500	[thread overview]
Message-ID: <52E87357.4020103@case.edu> (raw)
In-Reply-To: <20140128215916.GA59221@stack.nl>

On 1/28/14, 4:59 PM, Jilles Tjoelker wrote:

>> That's either a bug or an intended deviation from the POSIX
>> standard, you'll have to ask on the bug-bash list about that.

It's a bug in bash.  Bash doesn't exit when the command is on the LHS
of a || or &&.

Chet


-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
		 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/

  parent reply	other threads:[~2014-01-29  3:26 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-28 12:16 exec command and error checking Марк Коренберг
2014-01-28 13:17 ` Guido Berhoerster
2014-01-28 15:32   ` Paul Gilmartin
2014-01-28 21:59   ` Jilles Tjoelker
2014-01-28 23:18     ` Guido Berhoerster
2014-01-29  3:19     ` Chet Ramey [this message]
2014-01-28 13:40 ` Seb
2014-01-28 14:05   ` Guido Berhoerster
2014-01-28 14:42     ` Seb
2014-01-28 14:52 ` Paul Gilmartin

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=52E87357.4020103@case.edu \
    --to=chet.ramey@case.edu \
    --cc=dash@vger.kernel.org \
    --cc=jilles@stack.nl \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox