[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: I: tee doesn't handle dash properly

From: Jim Meyering
Subject: Re: I: tee doesn't handle dash properly
Date: Tue, 05 Apr 2005 13:47:09 +0200

"Dmitry V. Levin" <address@hidden> 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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]