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 "\'" too. Any clues ?
Thanks!
nnxx
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 "\'" too. Any clues ?
Thanks!
nnxx