can anyone tell me how i go about testing multiple conditions, for example ...
if $1 = $2
{
do something
}
else
{
do something else
}
where the if is how do i test for more than one possibility, simple as
if $1 = $2 and $2 = $3
is 'and' the correct syntax to use because i can find loads of documentation of control structures but never any examples with more than one test condition.
Bookmarks