From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6172 invoked from network); 6 Nov 1999 19:58:03 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 6 Nov 1999 19:58:03 -0000 Received: (qmail 15628 invoked by alias); 6 Nov 1999 19:57:45 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 2728 Received: (qmail 15621 invoked from network); 6 Nov 1999 19:57:45 -0000 Date: Sat, 6 Nov 1999 20:54:57 +0100 From: Stefan Troeger To: zsh-users@sunsite.auc.dk Subject: KSH style globbing Message-ID: <19991106205457.A3361@one.sttr.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/1.1i 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