[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

nother bash question



Greetings bashers;
I have a set -x at the top of this script, and this line, while working 
as expected:

if test ${InMail} = "gene"

also spits out this warning:

bin/mailwatcher: line 66: test: =: unary operator expected

What syntax correction does this need?

Thanks.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>


Reply to: