In article <3652 at phri.UUCP> roy at phri.UUCP (Roy Smith) writes: > I'm writing a program which will take an optional range, in the >style of graph(1)'s "-x xmin xmax". How do I tell getopt to parse >something like that? You don't. getopt() was written to support the Command Syntax Standard, and that usage is a violation of the Standard.