Re: Bug: temporary assignments vs shell function

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

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
To unsubscribe from this list: send the line "unsubscribe dash" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at

[LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

Powered by Linux