From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from euclid.skiles.gatech.edu (list@euclid.skiles.gatech.edu [130.207.146.50]) by melb.werple.net.au (8.7.5/8.7.3/2) with ESMTP id EAA17014 for ; Sat, 8 Jun 1996 04:30:14 +1000 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id OAA19124; Fri, 7 Jun 1996 14:22:35 -0400 (EDT) Resent-Date: Fri, 7 Jun 1996 14:22:35 -0400 (EDT) Sender: hniksic@public.srce.hr To: zsh-workers@math.gatech.edu Subject: Globbing bug? From: Hrvoje Niksic Date: 07 Jun 1996 20:21:17 +0200 Message-ID: X-Mailer: Gnus v5.2.5/XEmacs 19.13 Resent-Message-ID: <"SWITK.0.jg4.gD7kn"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/1291 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu I have found the following problem with globbing of symlinks pointing to a directory: Script started on Fri Jun 07 20:15:00 1996 jagor% ls -l total 4 lrwxrwxrwx 1 hniksic f2 1 Jun 7 20:14 somefile -> / -rw-r--r-- 1 hniksic f2 43 Jun 7 20:15 typescript jagor% cd s*e/ cd: no such file or directory: s*e/ jagor% cd s*e jagor% /bin/pwd / That is, when symlink points to a directory, it will not be globbed if it has a trailing /. This is especially annoying when writing something like: jagor% cd site-lisp/g*a/lisp and it fails (although g*a completes uniquely by itself in site-lisp directory), because gnus-beta is a symbolic link to gnus-5.2.10. Ksh and bash do not seem to have this problem, whereas plain sh behaves like zsh. -- hniksic@srce.hr | Student of electrical engineering hniksic@fly.cc.fer.hr | University of Zagreb, Croatia ------------------------------------------------------------------ * Q: What is an experienced Emacs user? * A: A person who wishes that the terminal had pedals.