Check out my first novel, midnight's simulacra!

Getopt

From dankwiki
Revision as of 02:53, 29 May 2012 by Dank (talk | contribs) (→‎Shell)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Shell

getopt(1) diverges between Linux and FreeBSD. POSIX's getopts(1) is the portable way to do option parsing from the shell (as pointed out in BASH FAQ #035).

C