From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13125 invoked from network); 29 Jun 2001 18:22:27 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 29 Jun 2001 18:22:27 -0000 Received: (qmail 476 invoked by alias); 29 Jun 2001 18:21:34 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 15184 Received: (qmail 455 invoked from network); 29 Jun 2001 18:21:31 -0000 Date: Fri, 29 Jun 2001 14:22:15 -0400 From: Clint Adams To: zsh-workers@sunsite.dk Subject: bracket expressions and POSIX Message-ID: <20010629142215.A8431@dman.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i POSIX says that \ loses its special meaning within a bracket expression for pattern matching and also that ! is the ^ character in that context. So this strikes me as non-compliant: % emulate sh % touch \\test abc % echo [!a]* zsh: event not found: a] % echo [\!a]* \test % echo [\]* []* % echo [\\]* \test More specifically, the first three echoes appear to be non-POSIX-compliant.