#!/bin/csh
set log_file = `ls -t /var/www/log/httpd-log* | head -1`
set file = ${log_file:e}
/usr/local/lib/www/wwwstat >! /var/www/stat/${file:r}.html
cp /var/www/stat/${file:r}.html /var/www/stat/last.html

