Scott Blachowicz <[EMAIL PROTECTED]> writes:
> [hmmm...that's odd...I was about to resubmit my message because I
>  never saw it come back to me.]

Hmm.

> > >   ac_help="$ac_help
> > >     --enable-masquerade[='draft_from[ mmailid[ username_extension]]']
> > >                             enable 3 types of email address masquerading [none]"
> 
> "Dan Harkless" <[EMAIL PROTECTED]> wrote:
> 
> > You're right -- the syntax I specified is bogus.  It's not necessary to
> > specify mmailid before username_extension or draft_from before the latter
> > two.
> > 
> > I don't see a good compact, non-confusing way to specify the real syntax
> > rules there, so I guess I'll just print it without the extra []s and leave
> > the explaining about it being okay to specify a subset to the INSTALL file.
> 
> How about:
> 
>     --enable-masquerade='draft_from|mmailid|username_extension ...'
> 
> which you could debate as well...

Not terrible, but I've never seen syntax like that.

> is it valid with nothing (i.e. just
> "--enable-masquerade")?  

Yes -- that's explained in the INSTALL file.  No options is equivalent to
all three options (a shortcut).

> So, how DOES one denote "pick one or more of these three tokens" in
> typical ASCII syntax diagrams?

If there is a "most-accepted" way, it will no doubt involve syntax that
people might mistakenly type.  The only other decent way to say it I can
think of other than the current, which is just:

  --enable-masquerade[='draft_from mmailid username_extension']
                          enable 3 types of email address masquerading [none]

would be to say:

  --enable-masquerade[='MASQUERADE_OPTION_1[ MASQUERADE_OPTION_2...]'
                          enable up to 3 types of address masquerading [none]

I had wanted to spell out the possibilities in the --help, though.  I guess
I could add a third line to the --help output for that option, but...  ;^>

-----------------------------------------------------------------------
Dan Harkless                   | To prevent SPAM contamination, please 
[EMAIL PROTECTED]      | do not post this private email address
SpeedGate Communications, Inc. | to the USENET or WWW.  Thank you.     

Reply via email to