<div dir="ltr">In centos7, bash 4.2, I am rejected when I try and run my preferred iterative loop and I don't know why it no longer likes it<div><br></div><div><div>for (( i = ${floor}; i < ${ceiling}; i++ )); do</div><div><span class="" style="white-space:pre">       </span>things_and_stuff</div><div>done</div></div><div><br></div><div>Anyone know why?</div><div><br></div><div>Yes I can still do</div><div><div>i=${floor}</div><div>while [[ $(( i += 1 )) -le ${ceiling} ]]; do</div></div><div><span style="white-space:pre">  things_and_stuff</span><br></div><div><span style="white-space:pre">done</span></div><div><span style="white-space:pre"><br></span></div><div><span style="white-space:pre">but it doesn't help me understand why the first construct no longer functions.</span></div></div>