solved - lowercase between quotes "xxx"
solved - lowercase between quotes "xxx"
(OP)
I am using a awk command that changes text between quotes to lower case by using the field separator at the quotes.
Unfortunately this command also removes the quotes "" from the output.
How can I get awk to keep/replace the original quotes?
Thanks for the help :)
CODE -->
awk 'BEGIN { FS = "\"" } {print ($1)tolower($2)$3} ' test.txt > temp
Unfortunately this command also removes the quotes "" from the output.
How can I get awk to keep/replace the original quotes?
Thanks for the help :)
RE: solved - lowercase between quotes "xxx"
CODE
Feherke.
feherke.github.io
RE: solved - lowercase between quotes "xxx"
I only have the occasion to use sed or awk once or twice a year and nearly
always use a cut/paste/modify of someone else's snippet; as was the case here.
I always save my scripts and any explanations I find. So, your comment will be added to
my 20 or so sed and awk scripts. I have over 7,000 bash scripts, if that is any
indicator of how little I use sed & awk!