Is there a do
-while
loop in bash?
I know how to program a while
loop in bash:
while [[ condition ]]; do
body
done
Is there a similar construct, but for a do
-while
loop, where the body
is executed at least once irrespective of the while
condition?