regular expression

Jean-Pierre Radley jpr@jpr.com
Tue Dec 23 00:44:00 GMT 2003


Bansidhar Arvind Deshpande  - CTD, Chennai. typed (on Mon, Dec 22, 2003 at 12:26:18PM +0530):
| Hi all,
| 
| I want to find out the following pattern in all of my source
| files recursively the current directory.
| 
| pattern is \\\t
| 
| e.g.	my source file contain :
| add r0 r1 \	(After \ there is actual tab character)
| 
| How I can do that. I tried 
| grep -r "\\\t" * But It could not find out the above pattern.
| 
| Thanks in advance,

Not a gcc question, but elemental shell quoting issue.

Try:  grep -r '\<TAB>' *


-- 
JP



More information about the Gcc mailing list