dash.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Chet Ramey <chet.ramey@case.edu>
To: Harald van Dijk <harald@gigawatt.nl>
Cc: Eric Blake <eblake@redhat.com>, dash <dash@vger.kernel.org>,
Subject: Re: [PATCH] Fix variable assignments in function invocations
Date: Fri, 09 Jan 2015 14:36:06 -0500	[thread overview]
Message-ID: <54B02DA6.1010003@case.edu> (raw)
In-Reply-To: <54B01242.9000907@redhat.com>

Hash: SHA1

On 1/9/15 12:39 PM, Eric Blake wrote:

> This behavior is tricky.  Here's the latest POSIX wording:
> http://austingroupbugs.net/view.php?id=654#c1559

The currently-published standard (as far as I know, I7 TC1 has not been
published yet) requires the dash behavior.  Bash implements it in
Posix mode.  Both shells will remain conformant when TC1 comes out.


which includes

"When a function is executed, it shall have the syntax-error and variable-
assignment properties described for special built-in utilities in the
enumerated list at the beginning of Special Built-In Utilities."

- -- 
``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/
Version: GnuPG v1.4.11 (Darwin)


      parent reply	other threads:[~2015-01-09 19:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-09 17:17 Harald van Dijk
2015-01-09 17:39 ` Eric Blake
2015-01-09 17:55   ` Harald van Dijk
2015-01-09 19:36   ` Chet Ramey [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:

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

  git send-email \
    --in-reply-to=54B02DA6.1010003@case.edu \
    --to=chet.ramey@case.edu \
    --cc=dash@vger.kernel.org \
    --cc=eblake@redhat.com \
    --cc=harald@gigawatt.nl \
    --subject='Re: [PATCH] Fix variable assignments in function invocations' \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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).