Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: From: "Barnhart, Kevin" To: "'cygwin AT cygwin DOT com'" Subject: Easy, quick, BASH question Date: Fri, 2 Aug 2002 16:04:05 -0600 MIME-Version: 1.0 Content-Type: text/plain 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/