This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: regular expression


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]