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

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

Function that returns a formatted array in VBA -