comp.lang.ada
 help / color / mirror / Atom feed
* That funny “--” before ASIS options with ASIS applications
@ 2013-04-12 18:53 Yannick Duchêne (Hibou57)
  2013-04-12 21:17 ` Simon Wright
  2013-04-12 22:04 ` Shark8
  0 siblings, 2 replies; 3+ messages in thread
From: Yannick Duchêne (Hibou57) @ 2013-04-12 18:53 UTC (permalink / 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-04-12 22:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-12 18:53 That funny “--” before ASIS options with ASIS applications Yannick Duchêne (Hibou57)
2013-04-12 21:17 ` Simon Wright
2013-04-12 22:04 ` Shark8

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox