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


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Murray Collingwood <murray <at> focus-computing.com.au>
To: bug-coreutils <at> gnu.org
Subject: csplit
Date: Fri, 31 Mar 2017 15:05:30 +1300
[Message part 1 (text/plain, inline)]
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.

Cheers
Murray


-- 
Murray Collingwood
Focus Computing

Australia ph 07 3175 0575
New Zealand ph 03 928 1699

http://www.focus-computing.com.au
[Message part 2 (text/html, inline)]

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.