Path: utzoo!attcan!uunet!husc6!cmcl2!rutgers!apple!bbn!rochester!pt.cs.cmu.edu!andrew.cmu.edu!bobg+ From: bobg+@andrew.cmu.edu (Robert Steven Glickstein) Newsgroups: comp.unix.questions Subject: Re: C Shell history, backprimes Q's -- Noddy Level Message-ID: Date: 6 Apr 89 01:45:41 GMT References: <4930001@hpopd.HP.COM> Organization: Information Technology Center, Carnegie Mellon, Pittsburgh, PA Lines: 24 In-Reply-To: <4930001@hpopd.HP.COM> > *Excerpts from ext.nn.comp.unix.questions: 4-Apr-89 C Shell history,* > *backprimes.. Ian Watson@hpopd.HP.COM (919)* > I've just entered a command 'foo bar parm', when what I wanted was > 'foobar parm'. I've tried the history mechanism of the C Shell, but > it seems obsessed with treating the erroneous command as a sequence > of words, and so I can't seem to get the substitute to recognise > 'o b', as this spans words. % foo bar parm foo: You're an idiot % !!:1!!:2 !$ foobar parm foobar: You're a genius % ============== Bob Glickstein ITC Database Group Information Technology Center Carnegie Mellon University Pittsburgh, PA ==============