bug-bash
[Top][All Lists]
Advanced

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

Re: [bash 3.1.5] sh -c "echo -n ok" broken


From: Jeff Chua
Subject: Re: [bash 3.1.5] sh -c "echo -n ok" broken
Date: Thu, 19 Jan 2006 14:28:36 +0800 (SGT)

On Wed, 18 Jan 2006, Chet Ramey wrote:

Somehow you've enabled the xpg_echo option, either by configuring
with --enable-xpg-echo-default or running `shopt -s xpg_echo'
somewhere.  I suspect the former.

Yes, I did "--enable-xpg-echo-default" as I need echo "ok\c" to work.

The older bash-3.00.15(3) works with "--enable-xpg-echo-default".


So, it is possible to have both the following working in "sh" and "bash"

        echo -n "ok"
        echo "ok\c"

Thanks,
Jeff.






reply via email to

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