|
From: | gregrwm |
Subject: | break exit status |
Date: | Sun, 6 Jul 2014 09:08:00 -0500 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |