[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Doc of "set -e" should mention non-locality

From: Rainer Blome
Subject: Re: Doc of "set -e" should mention non-locality
Date: Wed, 04 Jul 2012 20:03:28 +0200

Thanks for pointing me to that issue report.

-------- Original-Nachricht --------
> Datum: Wed, 04 Jul 2012 10:47:11 -0600
> Von: Eric Blake <address@hidden>
> An: Rainer Blome <address@hidden>
> CC: Dan Douglas <address@hidden>, address@hidden
> On 07/04/2012 09:37 AM, Rainer Blome wrote:

> > * Different POSIX shell implementations are free to behave
> > differently, because the behavior is not specified exactly.
> > http://pubs.opengroup.org/onlinepubs/009695399/utilities/set.html
> Actually, that's where you are wrong.  POSIX _does_ specify bash's
> current behavior (in fact, bash changed behavior to match POSIX)

Is POSIX an open and public standard?
Can you please provide a link to where this is documented?
The link I gave is apparently not the right one.

> http://austingroupbugs.net/view.php?id=52

Thanks for pointing to that issue record.
Is this part of the standard yet?

> which even includes this example:
> [clear doc omitted...]

That is what I was suggesting in the first place, clear documentation.  
Hope it makes it into the standard docs, if it hasn't already.

> > * Some shell implementations *do* behave differently from Bash
> > in this regard. At least on AIX, ksh and sh do so.
> Only because they haven't been patched to obey POSIX yet.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]