From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11612 invoked from network); 1 Feb 2004 15:46:14 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 1 Feb 2004 15:46:14 -0000 Received: (qmail 20079 invoked by alias); 1 Feb 2004 15:45:58 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7035 Received: (qmail 20007 invoked from network); 1 Feb 2004 15:45:58 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 1 Feb 2004 15:45:58 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [81.169.145.166] by sunsite.dk (MessageWall 1.0.8) with SMTP; 1 Feb 2004 15:45:58 -0000 Received: from eumel.yoo.local (p5085990D.dip.t-dialin.net [80.133.153.13]) by post.webmailer.de (8.12.10/8.12.10) with ESMTP id i11Fjvad009777 for ; Sun, 1 Feb 2004 16:45:57 +0100 (MET) Received: by eumel.yoo.local (Postfix, from userid 1000) id A6F781336D; Sun, 1 Feb 2004 16:44:25 +0100 (CET) Date: Sun, 1 Feb 2004 16:44:25 +0100 From: Thorsten Haude To: Zsh User ML Subject: POSIX Message-ID: <20040201154425.GD1023@eumel.yoo.local> Mail-Followup-To: Zsh User ML Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="G2kvLHdEX2DcGdqq" Content-Disposition: inline X-Warning: Email may contain unsmilyfied humor and/or satire. Keywords: Hardcore, but no child sex at all! Organization: Ministry of Information, Department of Works User-Agent: Mutt/1.5.5.1i cd.edit_threads cd.trash_folder --G2kvLHdEX2DcGdqq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, I found the following line in Posix (Shell Command Language, Pattern Matching Notation, Patterns Matching a Single Character): A bracket expression starting with an unquoted circumflex character produces unspecified results. That would mean that you should not use '.[^.]*' to find hidden files. Instead it is stated to use '.[!.]*', which does not work in Zsh: yooden@eumel % ls .[!.]* zsh: event not found: .] ('.[\!.]*' works though.) I sense a disturbance in the Force here. Why does Zsh not follow Posix here? What am I missing? Thorsten --=20 A future startup with no patents of its own will be forced to pay whatever price the giants choose to impose. That price might be high: Established companies have an interest in excluding future competitors. - Bill Gates --G2kvLHdEX2DcGdqq Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAHR7ZW/x2JEBlodoRAvfbAKDVgYN8KO4tZMauJ+usV4WP785NYgCdHmCq gA0JdZ/rLtynF2qI2awyvcg= =2lr9 -----END PGP SIGNATURE----- --G2kvLHdEX2DcGdqq--