Re: [dev] [sbase] [PATCH] tar: support -f - as stdin/out

From: Dimitris Papastamos <sin_AT_2f30.org>
Date: Tue, 12 May 2015 19:10:25 +0100

On Tue, May 12, 2015 at 06:57:12PM +0100, Nick wrote:
> Is - as a stdin/stdout file actually used many places? Because it
> seems awfully weird to do:
>
> zcat < a.tar.gz | tar -t -f -
>
> rather than
>
> zcat < a.tar.gz | tar -t
>
> or even use -f /dev/stdin as FRIGN suggested.
>
> If it isn't used often, I'd prefer we don't support this weird
> syntax option. If it is common in scripts, though, then fine, I
> (reluctantly) suppose we need it.

I agree it is ugly but it is used frequently enough in the wild.
Received on Tue May 12 2015 - 20:10:25 CEST

This archive was generated by hypermail 2.3.0 : Tue May 12 2015 - 20:12:08 CEST