Subject: Re: discrepency beteen /bin/echo and builtin echo of /bin/sh
To: NetBSD-current Discussion List <email@example.com>
From: Greg A. Woods <firstname.lastname@example.org>
Date: 06/12/2002 16:22:17
[ On Sunday, June 9, 2002 at 22:11:21 (-0700), Greywolf wrote: ]
> Subject: Re: discrepency beteen /bin/echo and builtin echo of /bin/sh
> # > I do (usually) try to write scripts that that a 'proper'
> # > bourne sh (eg the solaris one) will run.
> # Well in that case (i.e. the solaris one), you're already lost.
> Oh? Enlighten us, please. As a solaris admin for a living, I think
> I need to hear this.
/usr/bin/sh on Solaris, at least up to SunOS-5.7, is not a modern
standards compliant command shell. It will not run some standards
conforming shell scripts. Sticking to just its features and limitations
in this day and age is silly and clearly unnecessary given that:
> # If you were to use /usr/xpg4/bin/sh you'd be much better off.
Greg A. Woods
+1 416 218-0098; <email@example.com>; <firstname.lastname@example.org>; <email@example.com>
Planix, Inc. <firstname.lastname@example.org>; VE3TCP; Secrets of the Weird <email@example.com>