[fwAnalog] Error "fwanalog.sh[1123]: [: analog:: unexpected operator/operand" on run.

From: Chris McQuade (chrism~AT~bluedingo.com)
Date: Mon Mar 25 2002 - 06:26:29 CET



Hi,  

I am getting this error when i try to run ./fwanalog.sh. "fwanalog.sh[1123]: [: analog:: unexpected operator/operand"    

I supect that this means that there is an error in the script ~AT~ line 1123. I see nothign wrong there, not that i know what i am looking for either;)  

The out put of sh -x fwanalog.sh is:  

bash# sh -x fwanalog.sh
+ basename fwanalog.sh
+ PROGNAME=fwanalog.sh
+ VERSION=0.6pre
+ today_only=false
+ sed=sed
+ perl=perl
+ grep=grep
+ egrep=egrep
+ zegrep=zegrep
+ analog=analog
+ date=date
+ trap term_exit TERM HUP
+ trap int_exit INT
+ [ = --help ]
+ getopts :hrta:p: opt
+ [ 1 -gt 0 ]
+ main

fwanalog.sh[1123]: [: analog:: unexpected operator/operand
fwanalog.sh[1123]: [: analog:: unexpected operator/operand
fwanalog.sh[1123]: [: analog:: unexpected operator/operand

+ graceful_exit
 

I have changed the shell to bash in fwanalog.sh. I see in the /root/fwanalog.out directory the fwanalog.all.log is generated but it does not create the HTML files. I created themmanually and it still will not work. I have analog installed and configured properly and am assuming i ahve edited fwanalog correctly.  

If anyone has experienced this and knows a remedy, it will be appreciated.  

Thanks,  

CM



This archive was generated by hypermail 2.1.3 : Mon Jul 29 2002 - 22:22:05 CEST