Re: "tee -" treating "-" as stdout violating POSIX?
From:
Bernhard Voelker
Subject:
Re: "tee -" treating "-" as stdout violating POSIX?
Date:
Fri, 20 Feb 2015 08:14:39 +0100
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0
On 02/19/2015 09:47 AM, PƔdraig Brady wrote:
> I'm 50:50 on changing now.
Okay, thanks.
Bob and Eric already signaled consent, so I'd push the
attached v2 unless someone vetoes.
Differences to v1 of the patch (diff of the commit messages):
-* tests/misc/tee.sh: Add a test case.
+* tests/misc/tee.sh: Add a test case for "tee -".
+While at it, re-indent the above multi-argument processing case and
+extend that to 13 operands, as POSIX mandates that, too.
+* tests/misc/tee-dash.sh: Remove now-obsolete test.
+* tests/local.mk (all_tests): Remove the above test.
Thanks & have a nice day,
Berny