puzzling over check_mailscanner
Julian Field
MailScanner at ecs.soton.ac.uk
Fri Apr 4 20:53:16 UTC 2008
Yes, you're quite right, it should be consistent. I'll try to remember
to fix it this weekend some time.
Cheers,
Jules.
Jeff A. Earickson wrote:
> 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
Jules
--
Julian Field MEng CITP CEng
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
PGP public key: http://www.jules.fm/julesfm.asc
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the MailScanner-Beta
mailing list