How do I filter by third column of the following file
list.txt [[ list of people ]] billy baxter - @baxter - email@example.com james woods - @woods - firstname.lastname@example.org
I currently have
cat list.txt | grep @woods > results.txt
The prob is the second column also has @ symbol so I cant search for @woods. Also I rather not search for @... or regex as there may be a secondary email2 col which I don’t want to filter by
I simply want to filter and only get lines by the third col. Ideally somehow to filter only in the third col, but retrieve whole lines.