bash: any way to reuse the last output?
Leonid Mamtchenkov
leonid at leonid.maks.net
Fri Jan 23 13:31:21 UTC 2004
* Herculano de Lima Einloft Neto <hlen at ig.com.br> [23-Jan-2004 04:46]:
> Mike Klinke wrote:
> >saveit find ....
> >saveit grep ....
>
> Then I would have to type saveit everytime.. thanks for all your
> effort, but I'll be more exact as to what I really want: use bash
> just the way I always have, and when the _unexpected_ wish to
> manipulate the last output gets me by surprise, I will do, for instance:
> (say, with grep)
>
> grep whatever $__
>
> There.. wouldn't it be nice? :)
grep whatever `!!`
--
Leonid Mamtchenkov.
http://www.leonid.maks.net
BOFH: sounds like a Windows problem, try calling Microsoft support
More information about the fedora-list
mailing list