Well, here is a simple source seek code. ====================================================================== File : seek Usage: seek KILLER ====================================================================== #!/bin/csh if ($#argv < 1) then echo "Usage: seek <argument>" exit 1 else set files = `grep -l $argv *.[ch]` foreach file ( $files ) echo "$file" grep -n $argv $file end endif
This archive was generated by hypermail 2b30 : 12/07/00 PST