Hello Kevin! Am Wed, 27 Aug 2025 13:26:08 +1000 schrieb Kevin Pulo <[email protected]>:
> There are at least 3 common workarounds:
>
> foo=$(some_command ... ; rc=$? ; echo . ; exit $rc)
> rc=$?
> foo=${foo%.}
This can be written somewhat easier as
foo=$(some_command ...).
rc=$?
foo=${foo%.}
Best regards,
Martin
