Re: I: tee doesn't handle dash properly
Dmitry V. Levin [EMAIL PROTECTED] wrote: According to NEWS file, tee - now writes to standard output instead of to a file named -. However, tee closes stdout more than once if file is named -: $ env -i tee - /dev/null; echo rc=$? tee: write error rc=1 Proposed fix and testcases for tee could be found at ftp://ftp.altlinux.org/pub/people/ldv/coreutils/coreutils-5.3.1-alt-tee.patch Thank you for the fine report and patch. Especially for the test cases. I've applied those changes. ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils
I: tee doesn't handle dash properly
Hi, According to NEWS file, tee - now writes to standard output instead of to a file named -. However, tee closes stdout more than once if file is named -: $ env -i tee - /dev/null; echo rc=$? tee: write error rc=1 Proposed fix and testcases for tee could be found at ftp://ftp.altlinux.org/pub/people/ldv/coreutils/coreutils-5.3.1-alt-tee.patch -- ldv pgpw5D5maALtO.pgp Description: PGP signature ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils