Annotation of chameleon/scripts/g, revision 1.1

1.1     ! petejc      1: #!/bin/sh
        !             2: 
        !             3: DIR=`pwd`;
        !             4: 
        !             5: if test $2
        !             6: then
        !             7: 
        !             8: printf "\nLooking for \"$1\" . . .\n\n";
        !             9: 
        !            10: grep -lra $1 $(find $DIR -name *$2 -print); 
        !            11: 
        !            12: 
        !            13: printf "\n\nfinished! . . .\n\n";
        !            14: 
        !            15: else
        !            16: printf "\n\nusage: g <string> <.extension>\n\n";
        !            17: exit
        !            18: 
        !            19: fi

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>