Re: [PATCH] archive: Refuse to write the archive to a terminal.
- From
- Mikael Magnusson <mikachu@gmail.com>
- Date
- Sep 16, 2009, 11:27 UTC
- Message-ID
- <237967ef0909160427m4d7de120tf5ef3176f75123ad@mail.gmail.com>
- In-Reply-To
- <4AB0C7DE.7030109@viscovery.net>
2009/9/16 Johannes Sixt <j.sixt@viscovery.net>:
Show 6 quoted lines
> Josh Triplett schrieb: >> I considered adding a -f/--force option, like gzip has, but writing an >> archive to a tty seems like a sufficiently insane use case that I'll let >> whoever actually needs that write the patch for it. ;) > > How about '--output -' instead?
You could always just add '|cat'.
-- Mikael Magnusson