Subject: Re: Switching from old-style getopt to new-style one
To: None <firstname.lastname@example.org>
From: Simon Burge <email@example.com>
Date: 11/02/2000 16:39:05
> On Thu, 2 Nov 2000, Simon Burge wrote:
> # Hmm
> # su root -c ls
> # login class "ls" ?
> No, command.
If the fancy getopt replacement pulls "-c ls" by looking at su's getopt
string (which has a ":c" in it), then it will set su's -c parameter to
"ls", not pass it to the shell as it should be...
> What are login classes all about, anyway? Is that a scheduling/priority
> thing, or what?
No idea, but it was a simple example off the top of my head...
Simon Burge <firstname.lastname@example.org>
NetBSD Sales, Support and Service: http://www.wasabisystems.com/