kflu / proctee

Tee stdin to program

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

proctee

Tee stdin to program

USAGE:

    proctee [-o out] ... -- [prog ...]

Pipe stdin to stdout as-is, while teeing stdin to "prog ..." and piping
prog's stdout to one or more `out's.

-o      Specifies the output file that the prog's stdout should be written to.
        Multiple -o can be specified.

Visually:

        STDIN --> STDOUT
          |
          v
         prog
          |
          v
     out1, out2, ...

About

Tee stdin to program

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Shell 100.0%