[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 8/8] doc: document split's new --filter=CMD option
From: |
Jim Meyering |
Subject: |
Re: [PATCH 8/8] doc: document split's new --filter=CMD option |
Date: |
Sat, 30 Apr 2011 18:55:10 +0200 |
Pádraig Brady wrote:
> On 30/04/11 14:31, Jim Meyering wrote:
...
>> +@itemx --filter=@var{command}
>> +@opindex --filter
>> +With this option, rather than simply writing to each output file,
>> +@command{split} writes through a pipe to the specified shell @var{command}
>
> s/@command{split} writes/write/
Thanks. That sounds better.
>> +for each output file.
>> +@var{command} may use the $FILE environment variable, which is set
>> +to a different output file name for each invocation of the command.
>> +For example, imagine that you have a 1TiB compressed file
>> +that, if uncompressed, would be too large to reside on disk,
>> +yet you must split it into individually-compressed pieces
>> +of a more manageable size.
>> +To do that, you might run this command:
>> +
>> +@example
>> +xz -dc BIG.xz big- | split -b200G --filter='xz > $FILE.xz'
>
> xz -dc BIG.xz | split -b20G --filter='xz > $FILE.xz' - big-
That's definitely what I meant.
I've merged both. Thanks again.
- [PATCH 7/8] split: don't rely on knowledge that INT_BUFSIZE_BOUND <= SIG2STR_MAX, (continued)
- [PATCH 7/8] split: don't rely on knowledge that INT_BUFSIZE_BOUND <= SIG2STR_MAX, Jim Meyering, 2011/04/30
- [PATCH 3/8] split: add tests, Jim Meyering, 2011/04/30
- [PATCH 6/8] strip: style: use braces around 1-stmt-but-multi-line blocks, Jim Meyering, 2011/04/30
- [PATCH 2/8] split: remove short-named -f option; improve diagnostics, Jim Meyering, 2011/04/30
- [PATCH 5/8] split: mark a string for translation, Jim Meyering, 2011/04/30
- [PATCH 8/8] doc: document split's new --filter=CMD option, Jim Meyering, 2011/04/30
- [PATCH 1/8] split: accept new output --filter option, Jim Meyering, 2011/04/30