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

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-5.4 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,TW_CZ,TW_ZV,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4D1CCE78.50909@redhat.com>
Date: Thu, 30 Dec 2010 11:24:56 -0700
From: Eric Blake <eblake AT redhat DOT com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 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>
In-Reply-To: <4D1CCBAC.6030004@tundraware.com>
OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg
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

--------------enig8CF3917231513293C9E7B2C3
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

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.
>=20
> I just did a clean install of the whole OS and Cygwin from scratch.
>=20
> The script makes use of the 'split' utility using a command
> along the lines of:
>=20
>   tar -czvfT file - | /usr/bin/split -b 10000 - foo.bar
>=20
> It formerly produced files in the form foo.bar.xa, foo.bar.xb, and so
> forth.
>=20
> 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).

>=20
> Ideas?

Adding '-a2' may serve as a decent workaround in the meantime.

--=20
Eric Blake   eblake AT redhat DOT com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


--------------enig8CF3917231513293C9E7B2C3
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEcBAEBCAAGBQJNHM54AAoJEKeha0olJ0NqVcUIAKJ+9Bjapzeg6ebi0gpU6Cma
QmokkWQ6DMI6q/3d1HDBrmzTx7iqVKnUBgG5WbXnUPogrnjvIXcnVgmzATm37yd9
svD0dea8ShPqjttExC2ftyWS0ZnzEugmDFTONesjFxy/tt7xyhMoPWSsLWIk8Ebm
3Cio1iGx12AF6f/ysFpVUmiysz6PqeWNoR2Adh5dBWOANEzH7NyMFs3DkmNZubrP
FpBQqdBN9pGWP0hqZfjF/Q0wqRkf5g4SVLLVOMa8U7L3RgNxCEBZYWmCQZShMk2p
KzaFYJVWINIqrNIsZkrnuugpwL6G07hcdQakLAaZA9vs7WYmLxiCliQk9+moWi8=
=VVW4
-----END PGP SIGNATURE-----

--------------enig8CF3917231513293C9E7B2C3--

- Raw text -


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