Splitting Files (AIX 5.2)

  • From: Manjula Krishnan <oradba_la@xxxxxxxxx>
  • To: oracle-l@xxxxxxxxxxxxx
  • Date: Fri, 10 Sep 2004 07:26:14 -0700 (PDT)

I am trying to split some text files. I know I can use split command.
 
Here's what I have done:
 
split -l 66 -a 4 93_11_w2.prt 93_11_w2_
 
What this will do is split the original file (93_11_w2.prt) into 66 line chunks 
and each chunk will be named 93_11_w2_aaaa, 93_11_w2_aaab, 93_11_w2_aaac....
 
Is there any way I can make this split the files and name them:
 
93_11_w2_0001, 93_11_w2_0002, 93_11_w2_0003, ....
 
Thanks,
 
Manjula
                
---------------------------------
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!

--
To unsubscribe - mailto:oracle-l-request@xxxxxxxxxxxxx&subject=unsubscribe 
To search the archives - //www.freelists.org/archives/oracle-l/

Other related posts: