Subject: Re: discrepency beteen /bin/echo and builtin echo of /bin/sh
To: None <current-users@netbsd.org>
From: Eric Gillespie <epg@pretzelnet.org>
List: current-users
Date: 06/10/2002 17:01:25
Ben Harris <bjh21@netbsd.org> writes:
> > (ignore the fact that POSIX-2001 bans -n as well -- that'll be fixed in TC1
> )
>
> That's still true (XCU/TC1/D1/7, if you want to look it up).
Well there you go; the standard changes again. That's why this
entire discussion is purely academic from my point of view; you
have to use printf if you're doing anything other than 'echo "foo"'
or 'echo "foo $bar"'. echo is completely unreliable.
--
Eric Gillespie <*> epg@pretzelnet.org
Conformity is a sin.