[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-bash] Clarify the meaning of 's' in $- and the meaning of -s w
From: |
Chet Ramey |
Subject: |
Re: [Help-bash] Clarify the meaning of 's' in $- and the meaning of -s when invoking bash |
Date: |
Thu, 16 Mar 2017 15:01:21 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 |
On 3/16/17 9:16 AM, Stephane Chazelas wrote:
> That was a non-conformance (or at least deviation from every
> other Bourne-like shell) of bash. It was fixed in 4.4
>
> $ echo 'echo $- $BASH_VERSION' | bash
> hBs 4.4.11(1)-release
>
> IIRC, that was discussed last year either on the Austin group or
> bug-bash mailing list.
It had to be austin-group-l. In any case, that behavior is now explicitly
unspecified:
http://austingroupbugs.net/view.php?id=1039#c3617
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU address@hidden http://cnswww.cns.cwru.edu/~chet/