On Tuesday 19 December 2006 08:50, Christopher Sawtell wrote: > On Tuesday 19 December 2006 00:53, Edwin F wrote: > > Separate the square bracket and the "$Mac" with a space character. > > That is: if [ "$Mac" -ne "00:00:00:00:00:00" ]; then > > use != instead of -ne > > man test for the gore.
Be aware that `test` is an external program whereas the standard `if [ ]` construct is built into your shell. There may be inconsistencies with the type of tests that they support. hads -- http://nicegear.co.nz New Zealand's VoIP supplier
