grep a tab in UNIX

Sachin Chourasiya picture Sachin Chourasiya · Dec 1, 2009 · Viewed 266.1k times · Source

How do I grep tab (\t) in files on the Unix platform?

Answer

unwind picture unwind · Dec 1, 2009

If using GNU grep, you can use the Perl-style regexp:

grep -P '\t' *