Visit The New, Modern Unix Linux Community

Search Results

Search: Posts Made By: mohan_tuty
5,506
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...
1,576
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
...
1,576
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...
5,506
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...
5,506
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...
5,282
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

 

Featured Tech Videos

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