Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH] Tests for 50126, 50136, and 50149



On Sun, May 1, 2022 at 10:00 PM Jun T <takimoto-j@xxxxxxxxxxxxxxxxx> wrote:>
>
>    ( exec 3>&1 3>&2; print -u 3 some words )
>    sleep 1
>
> then the test passes. But not sure whether this is a correct fix.

Try

( exec 3>&1 3>&2; print -u 3 some words; exec 3>&- )

??




Messages sorted by: Reverse Date, Date, Thread, Author