DASH Shell discussions
 help / color / mirror / Atom feed
From: Eric Blake <ebb9@byu.net>
To: dash@vger.kernel.org
Subject: Re: bug with $? after .
Date: Mon, 31 Aug 2009 05:28:39 -0600	[thread overview]
Message-ID: <4A9BB3E7.6080409@byu.net> (raw)
In-Reply-To: <loom.20090709T210608-909@post.gmane.org>

According to Eric Blake on 7/9/2009 3:09 PM:
> According to POSIX, the status of . shall be 0 if no command was executed during
> the sourced script.  Therefore, this is a bug:
> 
> $ dash -c 'false; . /dev/null; echo $?'
> 1
> 
> and should be fixed to output 0.

Ping.

-- 
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9@byu.net

  reply	other threads:[~2009-08-31 11:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-09 21:09 bug with $? after Eric Blake
2009-08-31 11:28 ` Eric Blake [this message]
2009-08-31 11:51 ` Herbert Xu

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=4A9BB3E7.6080409@byu.net \
    --to=ebb9@byu.net \
    --cc=dash@vger.kernel.org \
    /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