bug#80010: timeout echo vs. timeout cat

Pádraig Brady <[email protected]> Mon, 15 Dec 2025 13:28:04 +0000
Newsgroups gmane.comp.gnu.core-utils.bugs
Message-ID <[email protected]>
On 15/12/2025 03:08, Collin Funk wrote:
> I agree that this behavior isn't obvious. :)

We should probably better document timeout's interactions with shell constructs,
as it's a common question and tricky to see what's going on:

https://unix.stackexchange.com/questions/727895/capture-process-signal-terminated-message-output-in-shell-pipeline
https://superuser.com/questions/1260918/bash-pipeline-signal-propagation-how-does-it-work/1261201#1261201
https://stackoverflow.com/questions/68479811/why-does-usr-bin-timeout-kill-the-entire-pipe/68482748#68482748
https://unix.stackexchange.com/questions/231526/timeout-breaking-pipes-and-wc/751212#751212

I'll see can I come up with something for the info docs

cheers,
Padraig