On 6/24/19 7:37 AM, Joerg Schilling wrote:
> Chet Ramey <chet.ra...@case.edu> wrote:
> 
>> Why would I do that? The default for `sh' is posix mode.
> 
> Why then does bash then still behaves different from POSIX?

If you find places where bash doesn't match POSIX when in posix mode,
please report them as bugs.

> I would expect to get XSI behavior for echo as well since it is improbable
> that a typical bash user expects the reduced interfaces for embedded systems.

Bash claims posix conformance with the posix and xpg_echo options enabled.
You can build bash so that both of these are enabled for strict conformance.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/

Reply via email to