Re: Using terminal output as input
> Not pretty but how about
> `ekiga | head -2 | tail -1`
>
> (note use of backticks)
>
That's creative! It doesn't seem to work on this system, I will try on
Real Debian (tm) when I get home. However, it does require
foreknowledge of the output, which I suppose is all right if the user
can run the same command again.
I just thought that there would be a command made for this, as it
seems to be a common situation. I did not think that it would have to
resort to hacks.
Thanks!
--
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il
Reply to: