I was wondering why mksh behaves differently than bash. so this is an integer overflow. thanks for clarification. Seems i have to rework all of my scripts
 
instead of
[ $datasz -gt $disksz ]
 
better use expr
[ $(expr $datasz '>' $disksz) != 0 ]
 

Reply via email to