Feherke,
Let me start by saying thanks. Your corrections & advice are helping me understand this a little better, and I appreciate that.
I have modified the code:
awk -F, '!sub(/=FOLK:SHPD=/,", ",$20){$20="\", \""}1' test_input.txt | awk '{OFS="," ; print $0}' > test_output.txt
I'm trying...
Feherke,
Thank you so very much for that post, it has given me some valuable tips that I was missing from before. I am still having problems though, and I fear I am not understanding the use of //, and "" in my script.
My input looks like this:
LINE1: +30.21972...
Any help is greatly appreciated!!
I have an input text file (test_input.txt) that is comma del., and I need to make a substitution in $20 of this file, and write out the entire file after the text is substituted.
I have the following command:
awk -F, '{print $0}' test_input.txt | awk -F, {if...
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.