I have a file that might contain a line like this.
A B
//Seperated by a tab
I wanna return true
to terminal if the line is found, false
if the value isn't found.
when I do
grep 'A' 'file.tsv'
, It returns to row (not true / false)
but
grep 'A \t B' "File.tsv"
or
grep 'A \\t B' "File.tsv"
or
grep 'A\tB'
or
grep 'A<TAB>B'
//pressing tab button
doesn't return anything.
How do I search tab seperated values with grep.
How do I return a boolean value with grep.