Monday, January 9, 2012

grep tab

After some searching I found out the answer is to not use \t but to use Ctrl-v and then the <tab> key to put the tab character directly in the command. Odd. So it looks like:
 grep -R "   $" *
where the tab character is inserted as Ctrl-v and then Tab.



No comments: