Dear all,
I have got a bit of a mind block at the moment. Can anyone tell me why this KSH code isn't working ?
if [ ${CurrentBackup} == 0]; then
PreviousBackup = (10 - (${CurrentNumber} - 1))
else
PreviousBackup = (${CurrentNumber -1 )
fi
All the variables fines, I get an error message complaining about the "(" on line 1.
Thanks
Alf
I have got a bit of a mind block at the moment. Can anyone tell me why this KSH code isn't working ?
if [ ${CurrentBackup} == 0]; then
PreviousBackup = (10 - (${CurrentNumber} - 1))
else
PreviousBackup = (${CurrentNumber -1 )
fi
All the variables fines, I get an error message complaining about the "(" on line 1.
Thanks
Alf