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

Re: Using terminal output as input



Title: Re: Using terminal output as input

Dotan Cohen wrote:
>> Like you said, it does require foreknowledge of the output. So there is
>> no way to make a one-size-fits-all solution, be it a command-line trick
>> or a program.
>>
>> If you told us exactly what you want to achieve, we might be able to
>> help you better.
>>
>
> I just want to know in a very general sense how to use the output of
> commands without typing them in manually. It seemed to me that as *nix
> was developed for the CLI interface (with GUIs coming around only
> years later) that this would be possible.
>
> I do not have a specific task at hand.

You haven't resolved one particular bit of ambiguity in your question:

Are you asking about manually selecting part of the output of a command(s)
and using it to assemble another command (as opposed to piping the whole
output from one command into another)?

If so, another possible answer for you is gpm.  (On a virtual console,
lets you select and copy text and paste it into the command line being
assembled (or into whatever process is reading from your virtual console)
using the mouse.)


Daniel
--
(Plain text sometimes corrupted to HTML "courtesy" of Microsoft Exchange.) [F]



Reply to: