That's funny...and it brings back old memories. I wrote a Perl script once upon a time to extract DDL from an Oracle export file. It would also change the storage parameters (i.e. extent size, tablespace name, etc.), but that's beside the point. Well, the first snag I hit using this thing was that Oracle stores the DDL (SQL for creating the object) as a single line. Tables with lots of columns and/or lots of long column names would occasionally produce a string that was too long for SQL*Plus to process.
So, I modified the script to create lines that were a maximum of 10 words long. Nothing fancy; no punctuation to worry about. I still dig the script out and tweak it every couple of years.
