File:  [mozdev] / chameleon / scripts / locate_image
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Tue Oct 3 19:31:36 2000 UTC (17 years, 2 months ago) by petejc
Branches: MAIN
CVS tags: PR3, M18, HEAD, CHAMELEON_0_02_BRANCH_OS, CHAMELEON_0_02_BRANCH, CHAMELEON_0_02B_BRANCH
adding, this is a hady little shell script to help you locate specific images
for various packages in different themes

--pete

#!/bin/sh

DIR=`pwd`;

if test $3
then

printf "\nLooking for image \"$1\" . . .\n\n";

grep -ra $1 $(find $DIR -name *.css -print) | grep $2 | grep $3;

printf "\n\nfinished! . . .\n\n";

else
printf "\n\nusage: locate_image <image> <theme> <package>\n\n";
exit

fi


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