[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
grepping the *** out of it
- Date: Wed, 12 Feb 2003 22:30:54 -0800
- From: strauman at slac.stanford.edu (till)
- Subject: grepping the *** out of it
Ralf Corsepius wrote:
>Have a look at NAME__MAIN in gcc/config/rs6000/eabi.*
>=> powerpc-eabi always uses __eabi instead of __main, cf.
>grep NAME__MAIN gcc/*
>grep NAME__MAIN gcc/config/*/*
BTW: Do you know 'rgrep' ? Ever since I discovered that wonderful utility
grep x/*/* is history for me...
rgrep -rl <regexp> <dir>
recursively greps directories. (Later versions of 'grep' also have the
but rgrep also allows gives you '-R <filename>' to restrict the search
filenames [e.g. use -R '*.h' to grep headers only[).
Perhaps the program I most often use these days ;-)