zsh-workers
 help / color / mirror / code / Atom feed
* Globbing bug?
@ 1996-06-07 18:21 Hrvoje Niksic
  1996-06-10 19:28 ` Zoltan Hidvegi
  0 siblings, 1 reply; 4+ messages in thread
From: Hrvoje Niksic @ 1996-06-07 18:21 UTC (permalink / raw)
  To: zsh-workers

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.



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1996-06-10 20:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-06-07 18:21 Globbing bug? Hrvoje Niksic
1996-06-10 19:28 ` Zoltan Hidvegi
1996-06-10 19:35   ` Hrvoje Niksic
1996-06-10 19:51   ` Zoltan Hidvegi

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).