9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Robert Ransom <rransom.8774@gmail.com>
To: 9fans@9fans.net
Subject: Re: [9fans] -- in rsc's g script
Date: Sat, 15 May 2010 06:41:40 -0700	[thread overview]
Message-ID: <20100515064140.3131a139@gmail.com> (raw)
In-Reply-To: <AANLkTin8OQDiNS6ybg3gVIWf36sJT0C63KETF9cWv1uN@mail.gmail.com>

On Sat, 15 May 2010 15:16:35 +0200
Rudolf Sykora <rudolf.sykora@gmail.com> wrote:

> could anybody tell me what's the meaning of '--' in
>
> grep -n $flags -- $1 *.[Cbchm] /dev/null

'--' tells the Plan 9 program argument parser to stop looking for
options.  See arg(2).

GNU getopt has the same feature.

Robert Ransom



  parent reply	other threads:[~2010-05-15 13:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-15 13:16 Rudolf Sykora
2010-05-15 13:37 ` Steve Simon
2010-05-15 18:50   ` Richard Miller
2010-05-15 13:41 ` Robert Ransom [this message]
2010-05-15 13:53   ` Rudolf Sykora
2010-05-15 14:27     ` Steve Simon
2010-05-15 18:44     ` erik quanstrom

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100515064140.3131a139@gmail.com \
    --to=rransom.8774@gmail.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).