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

Attachment: pgpw5D5maALtO.pgp
Description: PGP signature

_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to