quebra de casca enquanto loop
workdone=0
while : ; do
...
if [ "$workdone" -ne 0 ]; then
break
fi
done
Pleasant Pigeon
workdone=0
while : ; do
...
if [ "$workdone" -ne 0 ]; then
break
fi
done