another equivalent to c question?
i wonder what is the replacement for modulus in shell script?
i want to do a remainder check for say if (120%10 ==4) printf "hello!!\n"; is there such a replacement?? thx in adv |
Bash:
ACTION OPERATOR Addition + Subtraction - Multiplication * Division / Modulus % |
so it's more or less the same then??
let me see.... yeah, sorted my problem...dunno y it gave me errors before...anyway, thx a lot man!! |
no problem :-)
|
All times are GMT -5. The time now is 02:23 AM. |