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)



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