Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tee: -p option should terminate on closed stdout #7073

Open
jfinkels opened this issue Jan 4, 2025 · 0 comments
Open

tee: -p option should terminate on closed stdout #7073

jfinkels opened this issue Jan 4, 2025 · 0 comments
Labels

Comments

@jfinkels
Copy link
Collaborator

jfinkels commented Jan 4, 2025

Environment: Ubuntu 20.04, uutils main branch (git commit 20b5365), GNU coreutils v9.5.227-28b1.

Steps to reproduce:

tee -p | :

(The : command means "do nothing").

What happens now: uutils tee waits for stdin indefinitely.

What I expected to happen: GNU tee terminates successfully with no output.

Notes: this appears in the GNU test file tests/misc/tee.sh, though I'm not sure this would resolve the test failure there completely.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant