9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Pietro Gagliardi <pietro10@mac.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] First/second edition image manipulation tools
Date: Wed, 11 Jun 2008 23:57:37 -0400	[thread overview]
Message-ID: <99240531-8057-4BFA-BA18-D100D397CC63@mac.com> (raw)
In-Reply-To: <20080612034450.30B801E8C53@holo.morphisms.net>

On Jun 11, 2008, at 11:46 PM, Russ Cox wrote:

>> 	The first edition specified the arguments to -o as two values -
>> this cannot be done
>> 	due to idiosyncrasies with args(2).
>
> case 'o':
> 	arg1 = EARGF(usage());
> 	arg2 = EARGF(usage());
> 	break;
>
> russ
>
>

According to arg(2), that's not a good idea.
	"ARGF must be called just once for each option that takes an argument."
See if your code works.




  reply	other threads:[~2008-06-12  3:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-12  3:33 Pietro Gagliardi
2008-06-12  3:46 ` Russ Cox
2008-06-12  3:57   ` Pietro Gagliardi [this message]
2008-06-12  8:24     ` Charles Forsyth
2008-06-12 14:29     ` Russ Cox

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=99240531-8057-4BFA-BA18-D100D397CC63@mac.com \
    --to=pietro10@mac.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).