grepsrc.sh 170 B

1234
  1. #!/bin/sh
  2. # This script is in the public domain.
  3. # grepsrc.sh string --- greps for string over all C files
  4. find . -name "*.c" -print | grep -v "#" | xargs grep -n "$*"