On 4/1/2021 9:16, konsolebox wrote:
On Thu, Apr 1, 2021 at 11:25 PM <greyw...@starwolf.com> wrote:if ((n > 1)); then { echo "Ambiguous dir specification"; exit 1; } else { dir=${d[0]}; } fi;The grouping is unnecessary or should be separate from the first class syntax. Bash is not C or Go and shouldn't be written like it.
I didn't ask for your opinion on my coding style. It's worked correctly for 25 years. I have my reasons.