From: Colin Patrick Mccabe Date: Thu, 23 Aug 2012 17:52:34 +0000 (-0700) Subject: xy: handle .c and .h as well X-Git-Url: http://club.cc.cmu.edu/~cmccabe/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1032fb2e55196cece91149435f69279e1bc1b891;p=cmccabe-bin xy: handle .c and .h as well Signed-off-by: Colin McCabe --- diff --git a/xy b/xy index f47b92e..14184b0 100755 --- a/xy +++ b/xy @@ -1,3 +1,4 @@ #!/bin/bash -find . -noleaf -xdev -name '*.java' | grep $@ | xx +find . -noleaf -xdev -name '*.java' -o -name '*.h' -o -name '*.c' | \ + grep $@ | xx