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

Re: Using terminal output as input



> If you're looking to take the output from a command, edit it, then pipe it back
> into another command, may I suggest your favourite editor?
>
> vim can do it like so (for example):
>
> (in command mode)
> !!ls
> (edit to your heart's content)
> :%!wc
>
> I'm sure emacs can do it too, but I don't know emacs all that well.
>

Thanks, Eric.

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il


Reply to: