I\'m looking for a simple way to print a specific field with awk while allowing for embedded spaces in the field.
Sample: Field1 Field2 \"Field Three\" Field
Field1 Field2 \"Field Three\" Field
Based on this, in gawk maybe you can use something like
gawk
awk 'BEGIN{FPAT = "([^ ]+)|(\"[^\"]+\")"}{print $3}' input.txt
Output:
"Field Three"
It may need more work to get suited to your needs completely.
I think it needs gawk 4+, https://lists.gnu.org/archive/html/info-gnu/2011-06/msg00013.html