#!/bin/sh LOG=/var/log/httpd-access.log BINDIR=$HOME/bin tail -n 25 -f ${LOG} | ${BINDIR}/wwwlog_sub.php