Keep It Simple, Stupid | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Another way to do it would be to examine each line, and if it's a CREATE TABLE line, close the previous file and start a new one.
A similar method would also work if you have a more complicated delimiter, such as (for instance), an email address and name, but not an email and website. Spacewarp DISCLAIMER: Use of this advanced computing technology does not imply an endorsement of Western industrial civilization. In reply to Re: split one file into many on finding a new line
by spacewarp
|
|