bash help please
Greetings;
A bash script that has worked most of a decade now refuses.
For instance, assume that var InMail is = "gene", and can be echoed from
the command line using $InMail like this.
gene@coyote:~$ echo $InMail
gene
But I'll be switched if I can get a result from a line of code resembling
this from the command line while attempting to troubleshoot a 110 line
bash script: which asks "if test [${InMail} = "gene"]
then
-----
elif (another name)
yadda yadda
gene@coyote:~$ echo `test [${InMail} = "gene"]`
All I get is the linefeed. Obviously I'm losing it, so how do I
translate and get usefull output for troubleshooting?
Thanks bashers;
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: