Re: rsync --delete
On Mon, 2020-10-19 at 20:04 -0700, David Christensen wrote:
[...]
> $ IFS=: && for p in $PATH; do egrep -r 'set (-e|-o errexit)' $p; done
[...]
> /usr/bin/p7zip:# - remove `"$?" != 0 ' checks that do not work with
> `set -e'
:-)
I see in the Bash FAQ [1] there is an alternative opinion on the matter
expressed...
"rking's personal recommendation is to go ahead and use set -e, but
beware of possible gotchas. It has useful semantics, so to exclude it
from the toolbox is to give into FUD."
[1] https://mywiki.wooledge.org/BashFAQ/105
--
Tixy
Reply to: