awk variable troubles

view story

http://www.linuxquestions.org – Hi all, Still working on getting better with awk, tried to use some of the advice members had given on other threads related to this but am having trouble figuring out where I'm going wrong. Here's the code: I'll spare you from reading most of the code as I do know for a fact that my variable is being set correctly to an integer when I run it with sh -x. So currently my sh -x shows the LASTOCTET benig set as: LASTOCTET=64 Then this code is a few lines down: Code:         if [[ "$LASTOCTET" -lt 254 ]]         then       &n (HowTos)