Date: Fri, 14 Jun 2024 07:28:41 +0000
From: Alain BROSSARD <[email protected]>
Message-ID:
<zrap278mb0593ebcdf3b2e16431b2812ede...@zrap278mb0593.chep278.prod.outlook.com>
Most of this looks to be solved, or solvable now, but I see no-one seems
to have replied to this particular comment:
| Add to this that it is extremely difficult to check whether -a is set
| or not without using an external command.
No, that's trivial:
case $- in
*a*) ;; # set -a
*) ;; # set +a
esac
just fill in whatever code you need. No externals, no difficulty.
kre