[prog] (no subject)

sam at nipl.net sam at nipl.net
Thu Mar 26 19:17:46 UTC 2009


hi Chris,

actually, the problem (or a problem) IS in -eq
-eq is used for numeric comparisons, and a mac address is not a simple
number.

You should be using =  (not == or -eq).

type:  help test

for more info about what you can do inside [ ] in bash.

regards,

Sam


More information about the Programming mailing list