Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: _arguments parsing of --help output
- X-seq: zsh-workers 12345
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: _arguments parsing of --help output
- Date: Fri, 21 Jul 2000 16:10:20 -0700
- In-reply-to: <000721152233.ZM3870@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <000721152233.ZM3870@xxxxxxxxxxxxxxxxxxxxxxx>
On Jul 21, 3:22pm, Bart Schaefer wrote:
>
> I'm also curious in what circumstances the code to "... split the result
> again at newlines after joining the old array elements with newlines
> between them" ever makes a difference? It strikes me as redundant.
To answer myself ... it eliminates empty array elements, which probably
don't matter because they won't match the `-' prefix and so compadd will
discard them; but it's probably cleaner to explicitly squelch them.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author