Bug in test [ $n != 0 ]; then

clemens at dwf.com clemens at dwf.com
Sat Jun 12 17:07:40 UTC 2004


I have a script here that ran fine up thru Fc2T1, but 
test (I assume) is now complaining.

The error is:
    ./update2.sh: line 126: [: too many arguments

The line in question is:
    if [ $n9 -ne 0 ]; then

I tried ${n9} but got the same error.

I dont see any error, and it has worked up to now, anyone else
see a problem?
-- 
                                        Reg.Clemens
                                        reg at dwf.com






More information about the fedora-list mailing list