EASY scripting question - trying to figure out a test statement
Hey guys
This is an easy question - but i'm stuck.
I have my whole script working except for one little test command.
what i have is
if [$add -eq[*][=][*]]
then bblah blah
im trying to test a variable input by the user which has to be in the form VARIABLE=value. So $add is the variable i want tested and the[*][=][*] part is how i thought i could test it.
does anyone know how i can test this - ive searched through two massive text books and the internet and just can't get an answer. Its frustrating coz i know it is easy
im working on bourne shell
|