10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a huge file (around 4-5 GB containing 20 million rows) which has text like:
Actually above is an extracted file from a Sql Server with each field delimited by <EOFD> and each row ends... (8 Replies)
Discussion started by: amvip
2. UNIX for Advanced & Expert Users
I have received a file which is 20 GB. We would like to split the file into 4 equal parts and process it to avoid memory issues.
If the record delimiter is unix new line, I could use split command either with option l or b.
The problem is that the line terminator is |##|
How to use... (5 Replies)
Discussion started by: Ravi.K
3. Shell Programming and Scripting
My requirment is for every record of a particular file I've to check for a record delimeter (e.g. "\n") and if any row doesn't have "\n" then report it in error file .
Please suggest me to go through this. (4 Replies)
Discussion started by: manab86
4. Shell Programming and Scripting
I was wondering if anyone could explain to me how to split a variable length EBCDIC file into seperate files based on the record key. I have the COBOL layout, and so I need to split the file into 13 different EBCDIC files so that I can run each one through a C++ converter I have, and get the... (11 Replies)
Discussion started by: hanshot1stx
5. Shell Programming and Scripting
I want to split a big file into smaller ones with certain "counts". I am aware this type of job has been asked quite often, but I posted again when I came to csplit, which may be simpler to solve the problem.
Input file (fasta format):
agtcagtcagtc... (8 Replies)
Discussion started by: yifangt
6. Shell Programming and Scripting
I want to write a shell script that will split a string with no delimiter.
Basically the script will read a line from a file.
For example the line it read from the file contains:
These values are never the same but the length will always be 8.
How do i split this... (8 Replies)
Discussion started by: saint34
7. Shell Programming and Scripting
Here is my source, i have million lines like this on a file.
I want to split this into columns in order to load in database, anything starts with"&mjv=6" as first... (13 Replies)
Discussion started by: elamurugu
8. Shell Programming and Scripting
I have a requirement to split the record based on particular match using UNIX.
Input Record :
Output Records :
Input Record : ... (5 Replies)
Discussion started by: mksuneel
9. Shell Programming and Scripting
I have a string like ABC.123.XYZ-A1-B2-P1-C4. I want to delimit the string based on "-" and then get result as only two strings. One with string till last hyphen and other with value after last hyphen... For this case, it would be something like first string as "ABC.123.XYZ-A1-B2-P1" and... (6 Replies)
Discussion started by: gupt_ash
10. Shell Programming and Scripting
I need to split a string, either using awk or cut or basic unix commands (no programming) , with a multibyte charectar as a delimeter.
split by -efgh- to get two segments abcd & ijkl
Is it possible?
A.H.S (1 Reply)
Discussion started by: azmathshaikh