Displaying 1 result from an estimated 1 matches for "nofilehere".
2017 Oct 13
4
Why dup()?
On 12/10/17 12:54, Clark Wang wrote:
> How did you hit the problem? "ssh host echo hello | cat" works fine
> for me.
That's because ssh exited, not because of EOF.
Consider the following:
?? ssh localhost 'exec cat > /dev/null' | { read l; echo ${l:-EOF}; }
One should see "EOF" immediately (for values of immediate that include
startup latency), but