Re: bash: any way to reuse the last output?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2004-01-23 at 08:54, Leonid Mamtchenkov wrote:
> * Jason Dixon <jason@xxxxxxxxxxxxxx> [23-Jan-2004 08:39]:
> > > > grep whatever $__
> > > > 
> > > > There.. wouldn't it be nice? :)
> > > 
> > > grep whatever `!!`
> > 
> > I'm afraid I fail to see how any of this is easier than scrolling up
> > once in the buffer, and adding a "| grep whatever".
> 
> !! is scriptable, while scrolling up is not (or not that easy it is). :)

Of course, but that wasn't a requirement of the OP.  He wanted to find a
way to avoid *typing* the command over again.

-- 
Jason Dixon, RHCE
DixonGroup Consulting
http://www.dixongroup.net




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux