using break breaks simple usability of loop exit status, eg:

for f in "$@";do
   mv "$f" "$x$f$y"||break
done

if break would preserve the exit status of the preceding command then the
above loop would have a useful exit status.

an option analogous to pipefail could request the better break behaviour

Reply via email to