This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
grep'ing in all files (was: More uses of "fatal")
- To: kenner at vlsi1 dot ultra dot nyu dot edu
- Subject: grep'ing in all files (was: More uses of "fatal")
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Date: Mon, 5 Feb 2001 23:32:34 -0500 (EST)
- Cc: gcc-patches at gcc dot gnu dot org
> 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