bash: any way to reuse the last output?

Leonid Mamtchenkov leonid at leonid.maks.net
Fri Jan 23 13:54:08 UTC 2004


* Jason Dixon <jason at dixongroup.net> [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). :)

-- 
 Leonid Mamtchenkov.
 http://www.leonid.maks.net

BOFH: Hard drive sleeping. Let it wake up on it's own...





More information about the fedora-list mailing list