Re: "tee -" treating "-" as stdout violating POSIX?
From:
Bernhard Voelker
Subject:
Re: "tee -" treating "-" as stdout violating POSIX?
Date:
Thu, 19 Feb 2015 08:11:59 +0100
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0
On 02/19/2015 02:59 AM, PƔdraig Brady wrote:
> shred, and touch also, at least.
yes, true.
> BTW there is a separate tee-dash test.
oops, that test still passes, because it doesn't verify the
behavior of treating "-" as a file or stdout.
tee - </dev/null || fail=1
Iff we agree on fixing $SUBJECT as a bug,
then I'd remove that test.
Have a nice day,
Berny