'split' Appending Too Many Characters

Tim Daneliuk tundra@tundraware.com
Fri Dec 31 03:21:00 GMT 2010


On 12/30/2010 12:24 PM, Eric Blake wrote:
> On 12/30/2010 11:13 AM, Tim Daneliuk wrote:
>> I have a script I've run successfully for years on a Win XP system.
>>
>> I just did a clean install of the whole OS and Cygwin from scratch.
>>
>> The script makes use of the 'split' utility using a command
>> along the lines of:
>>
>>    tar -czvfT file - | /usr/bin/split -b 10000 - foo.bar
>>
>> It formerly produced files in the form foo.bar.xa, foo.bar.xb, and so
>> forth.
>>
>> Now it produces files in the form: foo.bar.xaaaaaaa...
>
> Known upstream bug in coreutils 8.8:
> http://lists.gnu.org/archive/html/bug-coreutils/2010-12/msg00109.html
>
> and will be fixed soon (either by upstream coreutils 8.9, or by
> back-porting that patch into cygwin coreutils-8.8-2).
>
>>
>> Ideas?
>
> Adding '-a2' may serve as a decent workaround in the meantime.
>

Thanks.

The program, however, will not accept -a3, it requires the numeric arg
to be 3 or larger for some inexplicable reason...

-- 
----------------------------------------------------------------------------
Tim Daneliuk     tundra@tundraware.com
PGP Key:         http://www.tundraware.com/PGP/


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list