Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Unix : How to cut a file into pieces?
hi, friends, rather than that ,
why don't u use=20
split <file_name>
command of unix, it has options about how many lines each file to be =
splitted into, also it gives the name on its own, better if u move the =
file to be splitted into a new directory so that u will get the original =
file with all its equally splitted files with sequence numbers attached =
will be available within the same file,=20
i've used it long back, i just remembered , hence informing.
for more info=20
$man split
u'll get the details
regards
k.mahesh
head -10000 filename>filename2 puts 1st 10000 lines into =
filename2
tail +10001 filename|head -10000>filename3 puts next 10000 lines into =
filename3
etc....see man pages for more info
At 09:44 AM 7/27/00 -0800, Veronica Levin wrote:
>I was wondering if there is a way to cut a 63MB text file into small =
pieces
>without opening it with vi.
>
>Ver=F3nica Levin Enr=EDquez
>Administrador AIX
>Compa=F1=EDa Cervecera de Nicaragua
>Tel=E9fono: 505-2493779
>Fax: 505-2443979
>Email: vlevin_at_victoria.com.ni=20
>http://www.victoria.com.ni=20
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Kenneth Komoto Email: kgkomoto_at_ucdavis.edu=20 Office of the Registrar Phone: (530)752-7197 University of California Fax : (530)752-0329Davis, Ca 95616
-- Author: Ken Komoto INET: kgkomoto_at_ucdavis.edu=20 Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Mahesh Kalakonda (E-Mail --> kalakoM_at_telkom.co.za) S/w Engineer Tel (+27) (012) 3041395 Fax (+27) (012) 3041486 Enterprise Information Ware House(EIW) , Open Plan , Room No. 650, 6'th Floor, Telkom Tower South (TTS - Building) Proes Street, Pretoria.Received on Fri Jul 28 2000 - 06:43:37 CDT
![]() |
![]() |