Hello, I found another bug with read -d and ksh93: If read -d in a ksh93 shell reads from a <() pipe I can't interrupt it with ^C:
Testcase: Read a string from <() pipe and print it. If the shell hangs hitting the ^C interrupt will end the shell and return a prompt of the parent shell: zsh returns the expected behaviour: > zsh -c 'read -d "3" r <(printf "x123€hello\n") ; printf "|%s|\n" "$r"' ^C > zsh returns the expected behaviour: > bash -c 'read -d "3" r <(printf "x123€hello\n") ; printf "|%s|\n" "$r"' ^C > ksh fails the test, it hangs even after repeated use of ^C and had to be killed from a 2nd xterm: > /usr/bin/ksh -c 'read -d "3" r <(printf "x123€hello\n") ; printf "|%s|\n" > "$r"' ^C^C^C^C^Z^C^C^C^C^C^CTerminated Lionel _______________________________________________ ast-users mailing list [email protected] https://mailman.research.att.com/mailman/listinfo/ast-users
