Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -g -O2 uname output: Linux snorkack 5.15.0-88-generic #98-Ubuntu SMP Mon Oct 2 15:18:56 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux Machine Type: x86_64-pc-linux-gnu
Bash Version: 5.2 Patch Level: 21 Release Status: release Description: The following command, when run in bash, should copy the word "foo" to the X primary selection (by process substitution), output the line "fxx", and exit: echo foo | tee >(xclip -i) | tr o x The command does print "fxx" but then it hangs. The same command behaves correctly when run in zsh. Repeat-By: 1. Run the command: echo foo | tee >(xclip -i) | tr o x 2. The command copies "foo" to the X primary selection, prints "fxx", and then hangs. 3. Pressing ctrl-D does not cause the command to exit. 4. Pressing ctrl-C kills the command