comp.lang.ada
 help / color / mirror / Atom feed
From: Shark8 <onewingedshark@gmail.com>
Subject: Re: That funny “--” before ASIS options with ASIS applications
Date: Fri, 12 Apr 2013 15:04:10 -0700 (PDT)
Date: 2013-04-12T15:04:10-07:00	[thread overview]
Message-ID: <de9d8c6d-5135-4f86-93fc-27d52824605a@googlegroups.com> (raw)
In-Reply-To: <op.wvfyqre5ule2fv@cardamome>

On Friday, April 12, 2013 12:53:05 PM UTC-6, Hibou57 (Yannick Duchêne) wrote:
> 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-argument should be accepted  
> > as a delimiter indicating the end of options. Any following arguments  
> > should be treated as 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.


Ah, *nix... corrupting everything it touches. {POSIX.1 "Core Services" incorporates Standard ANSI C, and is likely one reason that almost all low-level stuff [drivers for devices] is C, feeding back into itself and encouraging HW designers to a C-based mentality.}

      parent reply	other threads:[~2013-04-12 22:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]
replies disabled

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