I have a csv as follows
1.2kbps,link1,description
1.2mbps,link2,description
I would like to Find and replace
a)dot and kbps with 000 in column1
b)dot and mbps with 000000 in column1 using gawk or awk and output should look like follows
12000,link1,description
12000000,link2,description
I prefer Gawk but can use awk examples and play with it
Thanks
1.2kbps
should be1200
(not12000
, one zero more than needed). – Jul 03 '17 at 22:36