script errors

script errors

Post by <red1.. » Mon, 12 Mar 2001 22:30:05



I keep getting script errors  on line so or so when I access me internet
banking .

It ask me if i want to go on or not. If I say yes then is won't load up
some of my information that I need to get the information on my account
llke account information or balance information

What should I do to correct.

Thanks

--
Posted via CNET Help.com
http://www.help.com/

 
 
 

1. shell script error

I am using Solaris 8 and am writing a shell script using Bourne Shell.

I am learning shell scripting and I have a problem with a shell script
that I wrote below:

# more test3
#!/bin/sh

until [ "$a" -eq "0" ]
do
    print "Enter any number:"
    read num
        if [ $num -ne $a ] then
        echo "not the number"
        else
           break
        fi
done

# ./test3
./test3: syntax error at line 10: `else' unexpected

Can anyone please tell me what is wrong with this shell script?
Also, is it okay to have nested "while..do..done" loops?

Thank you.

Kingsley

2. squid and diald

3. Script Error Trapping

4. Ports help

5. rc.d privoxy and squid script errors

6. What's next for package managers? (was Re: rpm vs. dpkg)

7. ksh script error message

8. cfortran.h: Interfacing C and FORTRAN

9. Script error

10. Script error, __-D

11. Shell script error checking

12. Bourne script error. Need Help.

13. Script error?