On 01/06/2011 07:10 PM, Karl Heuer wrote: > For some years now I've been bemoaning the lack of a > `split --filter=COMMAND' feature, which would write to > pipes instead of files, instead of having to split to > a set of files and then run the filter on each of them. > The environment variable FILE is set to the name of the > file that would have been written; it's the command's > responsibility to use that string appropriately. > Sample usage (note proper quoting of $FILE): > $ split --filter 'gzip >$FILE.gz' > > The details turned out to be rather trickier than I'd > expected, but I think it's ready to be shared with the > folks in charge of coreutils. Source patch attached. > I haven't touched the documentation or tests.
Thanks for the contribution. The idea sounds like it might be useful, but before we can review and incorporate it, we'd need to clear up copyright status. Are you willing to assign copyright to the FSF? If so, we can send you the details off-list on how to start that paperwork process. -- Eric Blake [email protected] +1-801-349-2682 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
