diff options
author | gerald <gerald@localhost> | 1999-11-01 10:41:00 +0000 |
---|---|---|
committer | gerald <gerald@localhost> | 1999-11-01 10:41:00 +0000 |
commit | fef452940ca25ebd92ccf6e907d222d743381f47 (patch) | |
tree | 258cc2253731cd2d28e32a362b0428cb13c1e630 | |
parent | 4cbd4abb5c2dd58f83650299ced493a4ce488e9f (diff) | |
download | markup-validator-fef452940ca25ebd92ccf6e907d222d743381f47.zip markup-validator-fef452940ca25ebd92ccf6e907d222d743381f47.tar.gz markup-validator-fef452940ca25ebd92ccf6e907d222d743381f47.tar.bz2 |
made it antigrep for image/png as well as image/gif
-rwxr-xr-x | httpd/cgi-bin/referers | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/httpd/cgi-bin/referers b/httpd/cgi-bin/referers index 3bce6e3..18dc498 100755 --- a/httpd/cgi-bin/referers +++ b/httpd/cgi-bin/referers @@ -6,7 +6,7 @@ # This source code is available under the license at: # http://www.w3.org/Consortium/Legal/copyright-software # -# $Id: referers,v 1.6 1999-08-06 21:53:34 gerald Exp $ +# $Id: referers,v 1.7 1999-11-01 10:41:00 gerald Exp $ LOG=/var/log/httpd/validator_log; export LOG @@ -27,7 +27,8 @@ Content-Type: text/html <table> EOHD -tail -50000 $LOG | grep -v image/gif | cut -d\" -f4 | sort | uniq -c | \ +tail -50000 $LOG | egrep -v image/png | egrep -v image/gif | \ + cut -d\" -f4 | sort | uniq -c | \ grep -v ' \-$' | sort -rn | head -100 | sed 's/\&/\&/g; s/</\</g' | \ awk '{printf("<tr><td>%s</td><td><a href=\"%s\">%s</a></td></tr>\n",\ $1, $2, $2)}' @@ -38,7 +39,7 @@ cat <<EOHD <hr> <address> <a href="http://www.w3.org/People/Gerald/">Gerald Oskoboiny</a><br> -\$Date: 1999-08-06 21:53:34 $ \ +\$Date: 1999-11-01 10:41:00 $ \ </address> EOHD |