linux - process substitution in bash, sometimes I have to press "Enter" -
i'm learning use process substitution in bash. here's command:
echo text > >(tee log)
this pointless command thing have press enter after run it. why that?
sometimes happens more useful commands like:
ls some_non_existing_file 2> >(tee log)
actually enter not needed, can enter next command e.g. date
, check. happening because of process substitution command exits first , output gets written on terminal, reason false impression of need press enter.
Comments
Post a Comment