Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: ${...-...} vs ${...:-...}
- X-seq: zsh-workers 14499
- From: "Andrej Borsenkow" <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- To: "ZSH Workers Mailing List" <zsh-workers@xxxxxxxxxx>
- Subject: RE: ${...-...} vs ${...:-...}
- Date: Mon, 28 May 2001 09:53:16 +0400
- Importance: Normal
- In-reply-to: <1010528052854.ZM2038@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
>
> } bor@itsrm2% print ${(%)-%l}
> } 5679KNTXYZhims
>
> ${(%)-%l} is ${-} is $- is the option flags. I can see why this might be
> baffling, but I don't know what else zsh ought to do.
>
Hmm ... output an error message? I mean, ${(...)-} is an $-; but
${-blablabla} does not lool like it.
Or interpret it as the ${...:-...}?
-andrej
Messages sorted by:
Reverse Date,
Date,
Thread,
Author