[Hampshire] File slicing

Αρχική Σελίδα

Reply to this message
Συντάκτης: John Hunt
Ημερομηνία:  
Προς: HantsLUG
Αντικείμενο: [Hampshire] File slicing
Hi,

I have a huge file which contains a mysqldump of all the databases on
a server, I'm after just a specific part of it, that is, the table
data for phpbb within a database called rgse.

The file is wayy too big for the likes of emacs etc, so I was
wondering if anyone knows how to crop off the everything until a line
with CREATE DATABASE rgse, and everything after CREATE DATABASE?

Cheers,
John.