"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