Search Results

Search: Posts Made By: meet_calramz
1,853
Posted By meet_calramz
Read delimited file
I have a delimited file (,) containing Name, Amount,Type,Address,zip,Tel and Extn. If any of this column information is missing (except TYPE and Extn),
I need to print that a spefic column value is...
2,891
Posted By meet_calramz
That is true. it works... thanks for your help...
That is true. it works... thanks for your help...
2,891
Posted By meet_calramz
Thanks once again.. but this hungs
Thanks once again.. but this hungs
2,891
Posted By meet_calramz
Thanks . it works for the data initially I...
Thanks . it works for the data initially I provided.

But it doesn't work for the following since we "" not always at the end

input

123|""|789|654|""
987|786|"GRT
"|345|""...
2,891
Posted By meet_calramz
Thats true. we may keep counting for 4 pipes and...
Thats true. we may keep counting for 4 pipes and concatenate the broken line . but not sure how to code this in unix

---------- Post updated at 01:41 PM ---------- Previous update was at 01:38 PM...
2,891
Posted By meet_calramz
Joeyg, Lets assume a line should contain 4...
Joeyg,

Lets assume a line should contain 4 pipe "|" characters

123|456|789|654|""
987|786|"GRT
"|345|""
3455|896|654|456|""
457|234|"RT"|"PR
TY"|""


123|456|789|654|""...
2,891
Posted By meet_calramz
Concatenate broken rows
I need to concatenate the rows that are broken (because of carriage return and line feed) in unix.

Input

123|456|789|""
987|786|"GRT
"|""
3455|896|654|456|""
457|234|"RT"|"PR
TY"|""
...
8,100
Posted By meet_calramz
Break line content into multiple lines using delimiter
I need to break the line after every 3rd semi colon(;) using Unix shell scripting

Input.txt
ABC;DEF;JHY;LKU;QWE;BVF;RGHY;

Output.txt
ABC;DEF;JHY;
LKU;QWE;BVF;
RGHY;
Showing results 1 to 8 of 8

 
All times are GMT -4. The time now is 06:01 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy