DASH Shell discussions
 help / color / mirror / Atom feed
From: Rudolf Polzer <divverent@xonotic.org>
To: Jilles Tjoelker <jilles@stack.nl>
Cc: Jonathan Nieder <jrnieder@gmail.com>, dash@vger.kernel.org
Subject: Re: Bug: temporary assignments vs shell function
Date: Mon, 1 Aug 2011 07:59:42 +0200	[thread overview]
Message-ID: <20110801055941.GA10730@div0.qc.to> (raw)
In-Reply-To: <20110731221904.GA74938@stack.nl>

On Mon, Aug 01, 2011 at 12:19:04AM +0200, Jilles Tjoelker wrote:
> On Thu, Jul 14, 2011 at 12:09:15PM +0200, Rudolf Polzer wrote:
> > I just retested with that very command, and yes, the FreeBSD /bin/sh
> > does behave the "non-POSIX" (and "obvious") way, and so does the
> > Solaris /bin/sh.
> 
> Yes, FreeBSD /bin/sh is not POSIX compliant here. Because the current
> behaviour is explicitly documented and much more useful than the POSIX
> behaviour, I don't really like changing it ;-)

How is it more useful? I can't see any case where it'd help...

But I do understand it's defined like that in the spec, and that is what dash
should follow.

Best regards,

Rudolf Polzer

      reply	other threads:[~2011-08-01  5:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-14  8:34 Bug: temporary assignments vs shell function Rudolf Polzer
2011-07-14  9:26 ` Jonathan Nieder
2011-07-14 10:09   ` Rudolf Polzer
2011-07-14 10:25     ` Jonathan Nieder
2011-07-31 22:19     ` Jilles Tjoelker
2011-08-01  5:59       ` Rudolf Polzer [this message]

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=20110801055941.GA10730@div0.qc.to \
    --to=divverent@xonotic.org \
    --cc=dash@vger.kernel.org \
    --cc=jilles@stack.nl \
    --cc=jrnieder@gmail.com \
    /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