Subject: Re: discrepency beteen /bin/echo and builtin echo of /bin/sh
To: NetBSD-current Discussion List <firstname.lastname@example.org>
From: Greg A. Woods <email@example.com>
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; <firstname.lastname@example.org>; <email@example.com>; <firstname.lastname@example.org>
Planix, Inc. <email@example.com>; VE3TCP; Secrets of the Weird <firstname.lastname@example.org>