[Top][All Lists]

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

Re: possible to refer to last result?

From: Brian J. Fox
Subject: Re: possible to refer to last result?
Date: Thu, 22 Nov 2001 07:31:32 -0800

   From: Andreas Schwab <address@hidden>
   Date: 22 Nov 2001 16:04:38 +0100

   Christian Zemlin <address@hidden> writes:

   |> I was actually thinking of something SHORTER than
   |> gv $(find -name userguide\*).

   How about:

   $ gv $(!!)

   assuming you have history substitution enabled (which is the
   default).  Or just edit the previous command line in place.

The sequence of key you would type to "edit the line in place" is:

    C-p g v SPC $ ( C-e C-b \ ) RET

    up-arrow g v SPC $ ( right-array[many times] \ right-arrow ) RET

Or, if you are using vi mode:

    ESC k i g v SPC $ ( ESC e e e e SPC i \ ESC A )

So it appears that there are several ways to do what you want.

== The Difference Between Cultures: ==
    Einigkeit und Recht und Freiheit
    Liberte', E'galite', Fraternite'
    Sex, drugs and rock'n'roll

reply via email to

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