Subject: re: which echo.c would you choose?
To: matthew green <email@example.com>
From: Frederick Bruckman <firstname.lastname@example.org>
Date: 11/30/1999 03:13:18
On Tue, 30 Nov 1999, matthew green wrote:
> I'd rather see "use something very similar to getopt", because that's more
> canonical, although I don't know what echo is *supposed* to do with "--".
> echo -- -n
> actually, nothing i can find will "DTRT" with this. perhaps there is
> some standards thing about echo and -- ...
The Single Unix Spec (which, as you may already know, is available
online once you register: <http://www.unix-systems.org/online.html>),
says "echo" shouldn't support _any_ options, including '--'. '--'
should be recognized as a string operand, and '\c' is used to suppress