--- In [email protected], Thomas Hruska <thru...@...> wrote:
>
> Bill Cunningham wrote:
> >     Does anyone know what the looping constructs are that are used in 
> > command line interfaces that use a switch such as -d or -a in their argv? 
> 
> The POSIX approach is to use getopt().

Example:
http://qnxclub.net/files/articles/unix03/functions/getopt.html

Reply via email to