If I've piped the results of a command to less
and then decided that I want to save the contents to a file, is this possible?
I've tried setting a mark a
at the end of the buffer, and then returning to the top and using |avi
to send the whole contents to vi
, but that doesn't work.
|avi -
.