sh script ?

Fbsd8 fbsd8 at
Thu Jan 24 18:07:42 UTC 2013

I get this message [: bad number on this code

    [ "${saved_ip}" -eq "${used_ip}" ] && echo "good match"

Both variables have valid ip addresses in them.
Why does it think the variable content is a number and not text?
What am I doing wrong?

Thanks for your help

More information about the freebsd-questions mailing list