Hi
I'm trying to
1. Replace a comma with a full stop. Tried using
gawk "sub(/,/,.)" 1.txt > 2.txt (failed)
gawk "sub(/,/,test)" 1.txt > 2.txt (it only delete away the comma but it doesn't replace it with test)
When I put numbers as replacement text, it works though.
Can anyone assist?
2...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.