A convention for -file

Moderator, John Quarterman std-unix at ut-sally.UUCP
Tue Oct 28 07:05:29 AEST 1986


From: guy at sun.com (Guy Harris)
Date: Mon, 27 Oct 86 12:44:39 PST

> There's a real easy fix to the current random collection of special
> flags that handle filenames beginning with a dash:...

There's another fix, already implemented by all the versions of "getopt"
running around - an argument of the form "--" means no other arguments are
to be interpreted as flags, regardless of their form.  Since this one has
already been implemented by many commands, it is preferable.

Volume-Number: Volume 7, Number 95



More information about the Mod.std.unix mailing list