On Thu, 19 Jan 2006, Jeff Chua wrote:
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"
printf "%s" "ok"
--
Chris F.A. Johnson <http://cfaj.freeshell.org>
===================================================================
Author:
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash