[5596] in Athena Bugs

home help back first fref pref prev next nref lref last post

rt 7.0F: tcsh

daemon@ATHENA.MIT.EDU (Jonathan I. Kamens)
Mon Jul 23 13:25:20 1990

Date: Mon, 23 Jul 90 13:25:01 -0400
From: "Jonathan I. Kamens" <jik@pit-manager.MIT.EDU>
To: bugs@ATHENA.MIT.EDU

System name:		pit-manager
Type and version:	RTPC-ROMPC 7.0F
Display type:		apa16
			megapel

What were you trying to do?
	Glob a bunch of symbolic links by matching them to a string
	with an asterisk in it.

What's wrong:
	The shell claims there are no matches, even though there are,
	because the symbolic links don't point to anything.  It
	appears to be doing stat instead of lstat or something.  Look:

	pit-manager% mkdir foo
	pit-manager% ln -s bar foo/foo
	pit-manager% echo */foo
	echo: No match.
	pit-manager% touch foo/bar
	pit-manager% echo */foo
	foo/foo

What should have happened:
	It should match symbolic links when globbing, even if they
	don't point to existing files.

  jik

home help back first fref pref prev next nref lref last post