bug-bash
[Top][All Lists]
Advanced

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

Re: bash tests failing when compiled with --enable-xpg-echo-default=yes


From: Chet Ramey
Subject: Re: bash tests failing when compiled with --enable-xpg-echo-default=yes
Date: Sat, 3 Dec 2016 17:06:13 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.5.0

On 12/2/16 6:07 AM, Vladimir Marek wrote:
> And second patch we use because of xpg-echo. Would it have sense to have
> it included, or maybe stop the tests completely instead?

You could just have turned off the xpg_echo option instead of going through
a convoluted test (which just emulates `shopt -q') to determine whether or
not it's on, but it does need to be off.

This demonstrates just how incompatible echo is across shells.

Chet

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



reply via email to

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