Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Nov 1997 17:58:32 +0000
From:      James Raynard <fhackers@jraynard.demon.co.uk>
To:        Sheldon Hearn <axl@iafrica.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Why doesn't /bin/echo use getopt?
Message-ID:  <19971108175832.31362@jraynard.demon.co.uk>
In-Reply-To: <25358.879002601@axl.iafrica.com>; from Sheldon Hearn on Sat, Nov 08, 1997 at 05:23:21PM %2B0200
References:  <25358.879002601@axl.iafrica.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Nov 08, 1997 at 05:23:21PM +0200, Sheldon Hearn wrote:
> 
> Trivial question: why doesn't src/bin/echo/echo.c use getopt?
> 
> echo.c: /* This utility may NOT do getopt(3) option parsing. */

Because it's supposed to repeat its arguments instead of parse them?
(with the exception of -n, of course).

-- 
James Raynard, Edinburgh, Scotland.
james@jraynard.demon.co.uk
http://www.freebsd.org/~jraynard/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19971108175832.31362>