Re: "tee -" treating "-" as stdout violating POSIX?
From:
Eric Blake
Subject:
Re: "tee -" treating "-" as stdout violating POSIX?
Date:
Wed, 18 Feb 2015 19:55:45 -0700
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0
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?
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc Description: OpenPGP digital signature