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/13/2002 01:32:51
[ On Monday, June 10, 2002 at 22:24:51 (+0700), Robert Elz wrote: ]
> Subject: Re: discrepency beteen /bin/echo and builtin echo of /bin/sh
> Pretending that an echo that knows about '\n' is rational is irrational.
indeed, but '\c', the better alternative to '-n', is far more rational.
> ps: echo being echo is not BSD, it is original unix, from way way back.
K&P's story of echo is amusing but not exactly a "rationale", nor
exactly a pragmatic solution to common real-world needs. '\c' is
pragmatic and leaves no room for confusion with command-line option
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>