Subject: Re: discrepency beteen /bin/echo and builtin echo of /bin/sh
To: NetBSD Userlevel Technical Discussion List <>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: tech-userlevel
Date: 06/12/2002 15:48:57
> That's just plain silly.  It is not important or necessary for "echo"
> to support '--'.  "-n" is defined to be only recognized if it is the
> _FIRST_ operand.

So, how do you get echo to produce the three characters '-', 'n', '\n'
as output?  For that matter, how do you take a user-supplied string
(which might be "-n") and echo it?  (echo -n "$stuff"; echo "") seems
awfully ugly.

/~\ The ASCII				der Mouse
\ / Ribbon Campaign
 X  Against HTML
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B