Search Results

Search: Posts Made By: mohan_tuty
6,168
Posted By mohan_tuty
Merging lines
Thanks for the reply.

This works fine if the word is not splitted in two lines.

But it a word is splitted in two lines it is not working.

Sample input

one,two,three,
four,five
six,se...
2,111
Posted By mohan_tuty
This works fine if the word is not splitted in...
This works fine if the word is not splitted in two lines.

But it a word is splitted in two lines it is not working.

Sample input

one,two,three,
four,five
six,se
...
2,111
Posted By mohan_tuty
Merging lines based on occurances of a particular character in a file
Hi,

Is there any way to merge two lines based on specific occurance of a character in a file.

I am having a flat file which contains multiple records.
Each row in the file should contain...
6,168
Posted By mohan_tuty
Merging Lines based on specific occurance of a character
Thanks for the reply. This script works fine.

Is there any way to merge two lines based on specific occurance of a character

I am having a flat file which contains multiple records.
Each...
6,168
Posted By mohan_tuty
Merging lines in a file
Hi,

I want to merge the lines starting with a comma symbol with the previous line of the file.

Input :

cat file.txt

name1,name2
,name3,name4
emp1,emp2,emp3
,emp4
,emp5...
9,501
Posted By mohan_tuty
How to remove a character which is enclosed in Double quotes
I want to remove the comma which is present within the double quoted string. All other commas which is present outside double quotes should be present.

Input : a,b,"cc,dd,ee",f,ii,"jj,kk",mmm
...
Showing results 1 to 6 of 6

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