The line is simple, use "[" as a field separator for the bits. What I need to do is put a " between $2 and $3.
I can't seem to figure out the escape character needed to get awk to actually print out the " and not think it's part of a bigger double ".
Any ideas?
awk -F[ '{ print $1"["$2$3 }' file.txt| awk -F] '{ print $1"]"$2"\"$3THE " NEEDS TO GO HERE$4 }'
I've tried \", "\, ^" and '"" but none of it works. What am I missing? Putting in the [ between $1 and $2 works fine, I just need to do the same with a ".
Thanks.