Easy, quick, BASH question
Barnhart, Kevin
Kevin.Barnhart@echostar.com
Fri Aug 2 15:18:00 GMT 2002
I'm trying to setup an alias for grep that recursively looks through all .c
and .h files for a string. So far I've tried variations of:
alias hcgrep='grep -n "$*" $(find . -name '*.[ch]')'
There's probably just one little thing I'm missing...
Thanks,
Kevin
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list