C Shell history, backprimes Q's -- Noddy Level

David Elliott dce at stan.UUCP
Fri Apr 7 02:19:55 AEST 1989


In article <sYCg55y00Vsn40wGNN at andrew.cmu.edu> bobg+ at andrew.cmu.edu (Robert Steven Glickstein) writes:
>% foo bar parm
>foo: You're an idiot
>% !!:1!!:2 !$
>foobar parm
>foobar: You're a genius
>%

This broke on my csh (SunOS 4.0, but I don't think that matters).

Unless I have some environment-sensitive problem, what you want is

% foo bar parm
foo: You're an idiot
% !:0!:1 !$
foobar parm
foobar: You're a genius
%

-- 
David Elliott		dce at Solbourne.COM
			...!{boulder,nbires,sun}!stan!dce



More information about the Comp.unix.questions mailing list