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. -- konsolebox