Suppose that we have file like this:
sometext11 sometext12 sometext13 sometext21 sometext22 sometext23
Texts are separated by tabs and we know sometext from column 1 but want to get text from column 2. I know I can get line by:
grep 'sometext11' file.txt
How to get text from second column? Maybe some tool with option -t [column nr]?