Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Splitting Files (AIX 5.2)

Splitting Files (AIX 5.2)

From: Manjula Krishnan <oradba_la_at_yahoo.com>
Date: Fri, 10 Sep 2004 07:26:14 -0700 (PDT)
Message-ID: <20040910142614.66717.qmail@web50001.mail.yahoo.com>


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_at_freelists.org&subject=unsubscribe To search the archives - http://www.freelists.org/archives/oracle-l/ Received on Fri Sep 10 2004 - 09:21:47 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US