Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: bug in patterns used for filename expansion (e.g. a[b/c]d)
- X-seq: zsh-workers 23931
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: bug in patterns used for filename expansion (e.g. a[b/c]d)
- Date: Tue, 09 Oct 2007 08:30:03 -0700
- In-reply-to: <20071009150009.GB5369@xxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20071009124055.GH22340@xxxxxxxxxxxxxxxxxxx> <200710091259.l99Cxifg025637@xxxxxxxxxxxxxx> <20071009150009.GB5369@xxxxxxxxxxxxxxx>
On Oct 9, 4:00pm, Stephane Chazelas wrote:
}
} $ mkdir -p 'a[b/c]d' abd
} $ zsh -c 'echo a[b/c]d'
} abd
Thanks for coming up with that example; I had a suspicion that this was
a problem, but I wasn't awake enough yet to demonstrate it.
A related question (which I ought to ask on austin-group) is:
case $foo in
(a[b/c]d) print 'is this pattern valid?'
esac
Messages sorted by:
Reverse Date,
Date,
Thread,
Author