I agree with Andrey -- although this has the possibility of breaking
old scripts that expect no output from echoing an empty variable.
Since the DEC/OSF system update script only works with their ancient
/bin/sh (and not with the XPG4 sh) I wouldn't be surprised to find
such scripts out there... :-)
| From: "Andrey A. Chernov" <[EMAIL PROTECTED]>
| Date: Wed, 14 Mar 2001 15:46:39 +0300
| On Wed, Mar 14, 2001 at 12:41:09 +0000, David Malone wrote:
| > On Tue, Mar 13, 2001 at 07:52:49AM -0500, Christos Zoulas wrote:
| > > Thanks so much! I wonder how come this bug remained unnoticed for such
| > > a long time!
| > AFAIK, this isn't a bug. It's what csh has always done. (It's what
| > IBM and Sun's csh do anyway...) To echo a newline in csh you do
| > 'echo ""'.
| If this bug is rotten in csh as designed, it not means that it isn't
| the bug.
| Lets look from other side: "echo" is internal csh command which replace
| /bin/echo for speed reasons. /bin/echo;/bin/echo;/bin/echo produce 3 \n,
| so internal command must do the same in any case.
| Andrey A. Chernov
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message