bug-bash
[Top][All Lists]
Advanced

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

Re: possible to refer to last result?


From: Andreas Schwab
Subject: Re: possible to refer to last result?
Date: 22 Nov 2001 14:38:54 +0100
User-agent: Gnus/5.090003 (Oort Gnus v0.03) Emacs/21.1.30

chr@biologie.hu-berlin.de (Christian Zemlin) writes:

|> Hi all,
|> 
|> I am not reporting a bug, but your newsgroup still seems to be the most
|> appropiate for this question:
|> 
|> I would like to refer via shortcut to the result of the last command give
|> in a bash shell.  For example, after
|> 
|> find -name userguide*
|> > doc/guides/userguide.ps
|> 
|> (where the last line is bash's answer to the find command), I would like
|> to write something like gv *** where *** should expand to
|> doc/guides/userguide.ps .  Does anybody know how to do this?

$ gv $(find -name userguide\*)

Andreas.

-- 
Andreas Schwab                                  "And now for something
Andreas.Schwab@suse.de                          completely different."
SuSE Labs, SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5



reply via email to

[Prev in Thread] Current Thread [Next in Thread]