#!/bin/csh -f

cd ~/.www/counts
rm list
touch list
foreach i (`ls -t *.txt */*.txt`)
  cat $i >> list
#  echo " $i" >> list
  echo -n ' ' >> list
  ls -l $i >> list
end

cat list | tr -s ' ' | cut -d ' ' -f1,7- \
    | total -p '$1' hits | tee list

(echo -n "`date` 	"; grep Total list) >> archive
head -20 list | indent >> archive
