How do I filter by third column of the following file
list.txt [[ list of people ]]
billy baxter - @baxter - [email protected]
james woods - @woods - [email protected]
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.