Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: The (X) flag.
- X-seq: zsh-users 10452
- From: Frank Terbeck <frank.terbeck@xxxxxxxxxxxxxx>
- To: zsh users <zsh-users@xxxxxxxxxx>
- Subject: Re: The (X) flag.
- Date: Wed, 28 Jun 2006 09:04:16 +0200
- In-reply-to: <060627235116.ZM19160@xxxxxxxxxxxxxxxxxxxxxx>
- Mail-followup-to: zsh users <zsh-users@xxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Operating-system: Linux 2.6.16.16 i686
- References: <20060628045752.GN6528@xxxxxxxxxxxxxxx> <060627235116.ZM19160@xxxxxxxxxxxxxxxxxxxxxx>
Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>:
> On Jun 28, 6:57am, Frank Terbeck wrote:
> }
> } Now I thought it might throw an error when a given pattern doesn't
> } match:
>
> No. Failing to match the pattern is not an error, it's one of the
> expected possible outcomes.
>
> } However, I guess, I'm misunderstanding the manual. So, could someone
> } please give an example of what this flag does?
>
> The errors involved are lexical errors, that is, failures in tokenizing
> the string. I can't immediately think of one that affects ${var#pat},
> but here's an obvious one with the (Q) flag:
[...]
Okay, that makes it a lot clearer for me.
Thank you.
Regards, Frank
Messages sorted by:
Reverse Date,
Date,
Thread,
Author