Antonis Kanavouras wrote:

>       my C books are too old- no reference to getopt(). 
>       till today I wrote loops from scratch to manipulate comnd line options
>       ~# man 3 getopt makes me more confused
>       Any simple  source files for example ?

Look at the source for any of the GNU utilities. They nearly all use
getopt() for parsing the command line.

Also, the libc Info file has a couple of examples of using getopt().

-- 
Glynn Clements <[EMAIL PROTECTED]>

Reply via email to