Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
KSH style globbing
- X-seq: zsh-users 2728
- From: Stefan Troeger <stefan.troeger@xxxxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxx
- Subject: KSH style globbing
- Date: Sat, 6 Nov 1999 20:54:57 +0100
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
Hi,
I have a question regarding ksh-like globbing. I have a
directory with the files `foo', `bar' and `com' and want to
display every file in it that does not contain an a. In ksh or
bash I'd use
ls !(*a*)
for it. If I do a
setopt KSH_GLOB
ls !(*a*)
in zsh it says
zsh: number expected
What am I doing wrong?
Ciao,
Stefan
Messages sorted by:
Reverse Date,
Date,
Thread,
Author