Is there a way to print output data from within a pipeline ?
So I am running a command with fairly large output and piped it into various combination of grep and awks to extract specific data and assigning it to a variable by running the whole chain in substitution or backtick, all in one line. My question is, is there a way to view the full output of the first element of the pipeline without disturbing the downstream ? I've thought about teeing to a file but it seems a bit cumbersome. I just want to know if there's a lightweight and elegant solution to this. Thanks in advance.
|