DragonFly bugs List (threaded) for 2009-01
DragonFly BSD
DragonFly bugs List (threaded) for 2009-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: patch to add getopt parsing to expr


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Tue, 20 Jan 2009 16:52:45 +0100
Mail-followup-to: bugs@crater.dragonflybsd.org

On Tue, Jan 20, 2009 at 10:18:37AM -0500, Joe Talbott wrote:
> Since POSIX requires arguments beginning with '-' to be options
> shouldn't the following result in an error?

No. POSIX only says that -- has to be supported to disable the use of
options. It doesn't say that options have to be used.

Joerg



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]