I have a sometextfile.txt with '|' as delimiter.
I would like to grep
the value from last column only which consist of word "apple". How do i do it?
column1|column2|column3|column4|column5|column6|column7
aaaaaaa|bbbbbbb|ccccccc|ddddddd|eeeeeee|fffffff|apple
and grep whole row to a Newfile.txt