grepsrc.sh 131 B

123
  1. #!/bin/sh
  2. # grepsrc.sh string --- greps for string over all C files
  3. find . -name "*.c" -print | grep -v "#" | xargs grep -n "$*"