One of the common tasks you'll encounter when scripting in Bash is performing arithmetic operations on variables, particularly division. This process might seem straightforward, but it requires ...
Well, since kTwo is a constant with zero assigned to it, the (kZero > 0) clause will always be false. Thus, kTwo will always be assigned 0. Just set it to zero and the problem will probably go away ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results