Hello experts,
Any idea how to substitute a character with a single quote "'" in awk ?
If I use gsub, for example ..
gsub(/out/, "in", $0)
this replaces "out" with "in". But if I want to replace "out" with "'" instead, it obviously gives an error since it thinks its EOF.
I've tried...
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.