Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!boulder!stan!dce From: dce@stan.UUCP (David Elliott) Newsgroups: comp.unix.questions Subject: Re: C Shell history, backprimes Q's -- Noddy Level Message-ID: <754@salgado.stan.UUCP> Date: 6 Apr 89 16:19:55 GMT References: <4930001@hpopd.HP.COM> Reply-To: dce@Solbourne.com (David Elliott) Organization: Solbourne Computer Inc., Longmont, Colorado Lines: 22 In article bobg+@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@Solbourne.COM ...!{boulder,nbires,sun}!stan!dce