how can I grep a line starting with number 2 excluding number 26 after the tab
file1.txt:
2 0 'C001000'
2 26 'C001000' So we come to step 3
2 0 'C001000'
2 26 'C001000' So we come to step 3
expected output
2 0 'C001000'
2 0 'C001000'
my approach cat file1.txt | grep '^2' // which grabs all line staring with 2
cat file1.txt | grap '^2' $(printf '\t') '26'