X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_00,TW_CZ,TW_ZV,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Message-ID: <4D1CCBAC.6030004@tundraware.com> Date: Thu, 30 Dec 2010 12:13:00 -0600 From: Tim Daneliuk 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: 'split' Appending Too Many Characters Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: oBUID3i4004551 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: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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... IOW, split appears to be appending extraneous characters onto the end of the line. Other facts noted: 1) The number of characters appended seems to vary depending on some magic having to do with either the left side of the | or the name of the destination file. 2) 'split' seems to behave if run directly on the command line rather than being the destination of a pipe. Ideas? -- ---------------------------------------------------------------------------- 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