Search Results

Search: Posts Made By: mathias23
2,993
Posted By mathias23
thanks can u explain the 2nd code awk...
thanks can u explain the 2nd code
awk '!(NR%2){gsub(/, ?/," ")}1' RS=\" ORS=\" file

---------- Post updated at 03:51 AM ---------- Previous update was at 03:48 AM ----------
2,993
Posted By mathias23
Shell script that should remove unnecessary commas between double quotes in CSV file
i have data as below

123,"paul phiri",paul@yahoo.com,"po.box 23, BT","Eco Bank,Blantyre,Malawi"

i need an output to be

123,"paul phiri",paul@yahoo.com,"po.box 23 BT","Eco Bank Blantyre...
Showing results 1 to 2 of 2

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