[3795] in Athena Bugs

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

csh history substitution bug

daemon@ATHENA.MIT.EDU (geer@ATHENA.MIT.EDU)
Sat Dec 9 17:01:59 1989

From: geer@ATHENA.MIT.EDU
Date: Sat, 9 Dec 89 17:01:47 -0500
To: bugs@ATHENA.MIT.EDU

the special token, !!-, should be the previous
command line less the positionally last argument.
it isn't.

what happens:

	athena% cat foo
	...contents of foo print here...
	athena% !!- bar
	cat foo- bar
	foo-: No such file or directory

what should have happened:

	athena% cat foo
	...contents of foo print here...
	athena% !!- bar
	cat bar
	...contents of bar print here...

--dan


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