puzzling over check_mailscanner

Jeff A. Earickson jaearick at colby.edu
Fri Apr 4 19:01:48 UTC 2008


Julian,

I was staring at the bin/check_mailscanner script, and I've
got to ask, why are the variables at the top only used some
of the time?  You have:

PATH=/usr/bin:/bin
export PATH
PERL=perl
AWK=awk
GREP=grep
FGREP=fgrep
EGREP=egrep
PGREP=pgrep
PS=ps
UNAME='uname -a'

Then later in the script you use awk, grep, etc in some places
and $AWK, $GREP, etc elsewhere.  Shouldn't this be consistent?

Jeff Earickson
Colby College



More information about the MailScanner-Beta mailing list