[Hampshire] File slicing

Top Page

Reply to this message
Author: John Hunt
Date:  
To: HantsLUG
Subject: [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.