output Verified current stable Not installed?

Output / Read Data From Stdin

Read Data From Stdin

Use the output command to read data from stdin and query it with q.

$
Terminal
<output> | q "select * from -"

When To Use

This command is used to query data streamed from standard input.

Command Builder

Tune the command before you copy it

Back to syntax
$
Generated Command
<output> | q "select * from -"

Terminal Output

Expected runtime feedback

Simulated preview
>
Output
id | name  
---|-------
1  | Alice 
2  | Bob   
3  | Charlie

Command Breakdown

What each part is doing

<output>
Base Command
The executable that performs this operation. Here it runs Output before the shell applies any redirect operators.
<output>
output
The value supplied for output.

How To Run

Execution path

  1. Step 1

    Pipe data into the output command using 'output'.

  2. Step 2

    Use 'q' to query the data with SQL-like syntax.

  3. Step 3

    Specify the desired selection criteria in the query.

Alternative Approaches

Comparable commands in other tools

Alternative tools that share the "query-data" operation intent.