I was hoping someone might be able to help - I'm trying to extract the 7th column from a file - each field is seperated by a tab - I'm using the following awk command but it doesn't return anything - i don't know has it something to do with the file sperator or what but was hoping someone else might be able to point me in the right direction!
cat testfile.txt | awk 'BEGIN {FS="\t"}{print $7}' | sort -u > test.log
Thanks,
Jimmy
cat testfile.txt | awk 'BEGIN {FS="\t"}{print $7}' | sort -u > test.log
Thanks,
Jimmy