Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: KSH style globbing
- X-seq: zsh-users 2730
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: Stefan Troeger <stefan.troeger@xxxxxxxxxxxxxxxxxxxxxxxxx>, zsh-users@xxxxxxxxxxxxxx
- Subject: Re: KSH style globbing
- Date: Sun, 7 Nov 1999 00:47:14 +0000
- In-reply-to: <19991106205457.A3361@xxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <19991106205457.A3361@xxxxxxxxxxxx>
On Nov 6, 8:54pm, Stefan Troeger wrote:
} Subject: KSH style globbing
}
} setopt KSH_GLOB
} ls !(*a*)
}
} zsh: number expected
}
} What am I doing wrong?
You need
setopt KSH_GLOB NO_BARE_GLOB_QUAL
Otherwise, the trailing parens are interpreted as a glob qualifier before
they have a chance to be considered as a ksh pattern. This ought to be
documented better.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Messages sorted by:
Reverse Date,
Date,
Thread,
Author