Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Split a file into 2 files
Name: Bava Date: January 22, 2007 at 20:15:17 Pacific OS: UNIX CPU/Ram: 64-bit Product: Sun Solaris
Comment:
Hi,
I am trying to split a file which has fixed 10 rows into two files in PERL. The first 5 rows into fileA and the last five rows into fileB. I have to do this in a loop because I have multiple files to split daily. I am new in Perl. Can someone help urgently. Thank you.
Summary: Hi, I will have to split a 4 MB file into four 1 MB files. But the problem here is the first line is a header and the last line is a trailer. In between I have second level header which can repeat (2H...
Summary: I think you want to use the csplit command which splits a file based on regular expressions. Take a look at these links: http://www.computing.net/unix/wwwboard/forum/7415.html http://www.computing.ne...
Summary: Hello, I have to split a fil in several parts. I need to cut it in blocks delimited by 2 particular lines. What is the best tool to do that ? (or can anyone give me a piece of programm that can do tha...