coreutils
coreutils copied to clipboard
`tail` does not exit when pipe is broken
gnu coreutils tail implementation exits if the output of tail is piped to another command and that other command exits.
coreutils tail -f file | filter
this functionality was added in coreutils 8.28 and a few bugs relating to it were fixed in 8.31.
uutils/coreutils tail does not exit when the piped command exits
Hi, do you have a concrete command where the uutils tail does not exit? I tried
coreutils tail -f file.txt | head -n 2
and tail exited normally after printing two lines. But maybe this is not the situation you mean.
Closed by mistake, re-opening issue.