Hi folks
I have a snippet of code Which is like this
If ( ( A || B || C ) && D ) then
Do some thing....
elif exit
fi
How to rephrase this and use it so I dont get any Errors ...
Looking out for helpful replies ..
Thanks & Regards
Srikanth GR
if [ \( "$cur_scope_basis_measure" = "Account USVP PLC EOL" \
-o "$cur_scope_basis_measure" = "Account USVP PLC RAMPUP" \
-o "$cur_scope_basis_measure" = "Account SP Split % PLC EOL" \
-o "$cur_scope_basis_measure" = "Account SP Split % PLC RAMPUP" \
\) -a "$cur_scope_path_location" = "SalesUnit" ]
then
: #Do some thing....
else
exit
fi
Jean-Pierre.