On 11 April 2012 21:12, David Korn <[email protected]> wrote:
> cc: [email protected]
> Subject: Re: [ast-users] read -d hangs when reading from <() pipes
> --------
>
> You are using
>        ksh -c 'read -d "3" r <(printf "x123hello\n") ; printf "|%s|\n" "$r"'
> However, <(printf "x123hello\n") is a command argument, not a redirection.
> I think that you meant to use
>        ksh -c 'read -d "3" r  < <(printf "x123hello\n") ; printf "|%s|\n" 
> "$r"'
> which produces
> |x12|

Same for me.

But I think the real bug was that ksh -c 'read -d "3" r <(printf
"x123hello\n") ; printf "|%s|\n" "$r"' can't be terminated by ^C in an
xterm. Can you try that on your machine, please?

_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users

Reply via email to