How do I grep
tab (\t) in files on the Unix platform?
22 s
The trick is to use $ sign before single quotes. It also works for cut and other tools.
grep $'\t' sample.txt