-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Stephane Chazelas on 9/9/2007 11:17 AM: > can be reproduced with 3.2.25 and with: > > bash -c 'trap "" PIPE; sleep 1; echo a; echo b > a' | : > > It seems to be down to the usage of stdio.
Indeed. I raised this very bug several months ago: http://lists.gnu.org/archive/html/bug-bash/2007-04/msg00070.html where the cd builtin has the same issue. I also proposed several approaches for fixing the issue. - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG5Kom84KuGfSFAYARAgOfAKCiUMKGYRG8+xRJRIoxM5PSnkMoNACgqane BFh6hhMjAibDs0PgSf032Xw= =OF9G -----END PGP SIGNATURE-----