[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "tee -" treating "-" as stdout violating POSIX?
From: |
Bernhard Voelker |
Subject: |
Re: "tee -" treating "-" as stdout violating POSIX? |
Date: |
Thu, 19 Feb 2015 07:56:53 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 |
On 02/19/2015 03:55 AM, Eric Blake wrote:
> On 02/18/2015 06:59 PM, Pádraig Brady wrote:
>> I'm worried about breaking scripts that do stuff like:
>>
>> tee file - >/dev/null
>
> But why do that when:
>
> tee file
>
> does the same with less typing?
you probably meant
... | tee > file
or
... > file
to be equivalent - yet the argument of less typing still holds.
Have a nice day,
Berny
- "tee -" treating "-" as stdout violating POSIX?, Bernhard Voelker, 2015/02/17
- Re: "tee -" treating "-" as stdout violating POSIX?, Pádraig Brady, 2015/02/17
- Re: "tee -" treating "-" as stdout violating POSIX?, Eric Blake, 2015/02/17
- Re: "tee -" treating "-" as stdout violating POSIX?, Bob Proulx, 2015/02/17
- Re: "tee -" treating "-" as stdout violating POSIX?, Pádraig Brady, 2015/02/18
- Re: "tee -" treating "-" as stdout violating POSIX?, Eric Blake, 2015/02/18
- Re: "tee -" treating "-" as stdout violating POSIX?, Bernhard Voelker, 2015/02/18
- Re: "tee -" treating "-" as stdout violating POSIX?, Pádraig Brady, 2015/02/18
- Re: "tee -" treating "-" as stdout violating POSIX?, Eric Blake, 2015/02/18
- Re: "tee -" treating "-" as stdout violating POSIX?,
Bernhard Voelker <=
- Re: "tee -" treating "-" as stdout violating POSIX?, Pádraig Brady, 2015/02/19
- Re: "tee -" treating "-" as stdout violating POSIX?, Bernhard Voelker, 2015/02/20
- Re: "tee -" treating "-" as stdout violating POSIX?, Bernhard Voelker, 2015/02/22
- Re: "tee -" treating "-" as stdout violating POSIX?, Bernhard Voelker, 2015/02/19