coreutils
[Top][All Lists]
Advanced

[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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]