The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Break a file into separate files chiru_h Shell Programming and Scripting 8 07-29-2008 12:06 AM
How to use a core dump file lagigliaivan High Level Programming 2 05-26-2008 06:06 AM
Replacing characters in file with line break johnemb Shell Programming and Scripting 10 04-26-2007 04:38 AM
restore mysql dump file in many remote servers? blesets Shell Programming and Scripting 2 09-12-2006 10:17 PM
help, what is the difference between core dump and panic dump? aileen UNIX for Dummies Questions & Answers 1 06-11-2001 05:08 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-03-2008
Registered User
 

Join Date: Mar 2008
Posts: 76
Stumble this Post!
Unhappy how to break mysql dump sql file

Hi folks

I have mysql dump which having insert queries, i want to break that file when 10 complete "INSERTS" lines so extract that line and store in 1.sql and 2.sql and for next 10 insert lines.

pls guide me how can i do that.

Regards,
Bash
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 05-04-2008
Registered User
 

Join Date: Mar 2008
Posts: 76
Stumble this Post!
still waiting for help.

Regards,
Bash
Reply With Quote
  #3 (permalink)  
Old 05-14-2008
era era is offline
Herder of Useless Cats
 

Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 3,614
Stumble this Post!
man csplit
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 10:03 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0