Subject: Re: Repalcement for grep(1)
To: Dag-Erling Smorgrav <email@example.com>
From: Tim Vanderhoek <firstname.lastname@example.org>
Date: 07/04/1999 08:38:34
On Sun, Jul 04, 1999 at 02:09:47PM +0200, Dag-Erling Smorgrav wrote:
> This should be trivial to translate to C. The only non-trivial part of
> implementing this stuff is that you have to trick getopt() to make
> -<num> work. You'll have to put a : at the start of your getopt()
> string and examine every argument getopt() complains about.
Actually, the (FreeBSD) getopt(3) manpage includes at its end an
example showing how to handle -<num> options. This is preceeded
by bold letters: "backwards compatibility only".
HTH. HAND. :)
This is my .signature which gets appended to the end of my messages.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message