From: "Yannick Duchêne (Hibou57)" <yannick_duchene@yahoo.fr>
Subject: That funny “--” before ASIS options with ASIS applications
Date: Fri, 12 Apr 2013 20:53:05 +0200
Date: 2013-04-12T20:53:05+02:00 [thread overview]
Message-ID: <op.wvfyqre5ule2fv@cardamome> (raw)
If you ever wondered where that looking weird to me “--” before ASIS
options with ASIS applications come from, then here the answer: it comes
from POSIX.
Reference:
http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap12.html
“12.2 Utility Syntax Guidelines — Guideline 10” says:
> The first -- argument that is not an option-argumentshould be accepted
> as a delimiter indicating the endof options. Any following arguments
> should be treatedas operands, even if they begin with the '-' character.
That's finally not that weird as it seemed to me so far, and that's even
standard. ASIS options are just program operands instead of program
options.
--
“Syntactic sugar causes cancer of the semi-colons.” [1]
“Structured Programming supports the law of the excluded muddle.” [1]
[1]: Epigrams on Programming — Alan J. — P. Yale University
next reply other threads:[~2013-04-12 18:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-12 18:53 Yannick Duchêne (Hibou57) [this message]
2013-04-12 21:17 ` That funny “--” before ASIS options with ASIS applications Simon Wright
2013-04-12 22:04 ` Shark8
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox