This is part of the Semicolon&Sons Code Diary - consisting of lessons learned on the job. You're in the unix category.
Last Updated: 2024-11-21
You need to change FS
. Note:
- the BEGIN {}
part
- that there are two sets of curly brackets - one for begin, and one for the main program with print
cat *.tsv | awk 'BEGIN { FS="\t"} { print $3 }'