[Top][All Lists]

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

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

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

GNU bash, version 3.1.5(1)-release

sh -c "echo -n ok" returns "-n ok".

This breaks a lot of scripts ... startup scripts in /etc/rc.d and many packages like glibc "make check" that use "sh" instead of "bash" with "-n" option.

How can I make sh -c "echo -n ok" returns "ok" instead "-n ok"?

I've tried compiling with --disable-strict-posix-default but that doesn't work.


reply via email to

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