This is the mail archive of the gcc-patches@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]

grep'ing in all files (was: More uses of "fatal")


 > As Mark pointed out, I forgot to grep in *.h, I just did *.c.

Try setting an alias to the following.  I find it usually gets every
"code" type file when run from the gcc dir.  (This is a {t}csh type
alias, adjust appropriately if you use bash.)

egrep !* {.,intl,fixinc,cp,f,objc,java,ch,config,config/*}/*.{[chyjxsS],cc,md,def,asm}

It'll overflow the max arglist on some older OSes so you could write
something fancier using gnu find | xargs if you want.

--
Kaveh R. Ghazi			Engagement Manager / Project Services
ghazi@caip.rutgers.edu		Qwest Internet Solutions

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