GNU bug report logs - #26318
csplit

Previous Next

Package: coreutils;

Reported by: Murray Collingwood <murray <at> focus-computing.com.au>

Date: Fri, 31 Mar 2017 04:35:01 UTC

Severity: normal

Tags: notabug

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Pádraig Brady <P <at> draigBrady.com>
To: Murray Collingwood <murray <at> focus-computing.com.au>, 26318 <at> debbugs.gnu.org
Subject: bug#26318: csplit
Date: Thu, 30 Mar 2017 22:17:03 -0700
On 30/03/17 19:05, Murray Collingwood wrote:
> Hello
> 
> I just came across 'csplit' and thought all my problems are solved.
> 
> I backup a MySQL database using a single mysqldump on the entire database.
> It's large.
> The file (with newlines on each line) is about 11.5GB
> 
> I tried the following command:
> 
>> csplit 2017-03-31.sql '/^DROP TABLE/' '{*}'
> 
> 
> It was working really well and then appeared to finish normally.
> It had created xx00 - xx48
> 
> However when I started looking through the output files I was missing a
> whole bunch.  Table names should range from a* through to w*, however all I
> received was table names a* through to i* - I'm missing the last half of
> the data.
> 
> It would appear there is some limit as to the size of the input file the
> csplit will process.
> 
> Thanks for all you do - I have been an avid Linux user for over 30 years.

What system are you on?
What version of coreutils?
csplit should support large files if your system does and it was built appropriately

thanks,
Pádraig





This bug report was last modified 6 years and 266 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.