[5937] in Athena Bugs

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

vax 7.1H: csh

daemon@ATHENA.MIT.EDU (John T Kohl)
Tue Sep 4 13:33:27 1990

Date: Tue, 4 Sep 90 13:33:11 -0400
From: John T Kohl <jtkohl@ATHENA.MIT.EDU>
To: bugs@ATHENA.MIT.EDU

System name:		lycus
Type and version:	CVAXSTAR 7.1H
Display type:		SM

What were you trying to do?
	mis-type file names

What's wrong:
	the c-shell file globbing code seems to have some fencepost-type
errors.  It sometimes fails to detect an open [ with no matching close
]:

[{1}lycus:/mit/krb5/build/@sys/appl/telnet]
% echo f[f
Missing ].
[{1}lycus:/mit/krb5/build/@sys/appl/telnet]
% echo f[f]
echo: No match.
[{1}lycus:/mit/krb5/build/@sys/appl/telnet]
% echo fo[f
echo: No match.
			^^^^ this should complain about a missing ].
[{1}lycus:/mit/krb5/build/@sys/appl/telnet]
% echo fo[f]
echo: No match.
[{1}lycus:/mit/krb5/build/@sys/appl/telnet]
% echo ff[f
echo: No match.
			^^^^ why is this error message than the following?
[{1}lycus:/mit/krb5/build/@sys/appl/telnet]
% touch fff
[{1}lycus:/mit/krb5/build/@sys/appl/telnet]
% echo ff[f
Missing ].
[{1}lycus:/mit/krb5/build/@sys/appl/telnet]
%


What should have happened:
	It should have complained 'Missing ].' in all cases.

Please describe any relevant documentation references:
	csh(1)

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