delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/12/30/13:28:58

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.3 required=5.0 tests=AWL,BAYES_40,TW_CZ,TW_ZV,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4D1CCF53.4060403@tundraware.com>
Date: Thu, 30 Dec 2010 12:28:35 -0600
From: Tim Daneliuk <tundra AT tundraware DOT com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: 'split' Appending Too Many Characters
References: <4D1CCBAC DOT 6030004 AT tundraware DOT com> <4D1CCE78 DOT 50909 AT redhat DOT com>
In-Reply-To: <4D1CCE78.50909@redhat.com>
X-TundraWare-MailScanner-Information: Please contact the ISP for more information
X-TundraWare-MailScanner-ID: oBUIScl2004798
X-TundraWare-MailScanner: Found to be clean
X-TundraWare-MailScanner-From: tundra AT tundraware DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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 AT tundraware DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019