I want to send the output of a pipe and stdin to a pipe in bash.
I.e:
gen_input | cat - | parse_input_and_stdin
would send the output of gen_input
to parse_input_and_stdin
and then leave stdin open for more interactive input.
Close.
{ gen_input ; cat ; } | parse_input_and_stdin
cat <(gen_input) - | parse_input_and_stdin
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With