>I have a text file that can be anywhere from 40,000 lines to 120,000 >Lines, > >I want it to split the file so that no file is larger then 20,000 lines > >1) run a line count >2) split the file into pieces
Hello, Unix/Linux has a "split" shell command which is very suitable for your purpose. running "man split" for a preview. -- Jeff Pang EMAIL: pangj<at>earthlink.net AIM: jeffpang -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/