On Mon, Jul 26, 2021 at 04:50:27AM +0200, dora-solomon@brusseler.com wrote:
> Could I check whether an array `excl` is set using the command
> if [[ -v excl ]]; then
That does a thing. Whether the thing that that does is the thing that
you want is a different question.
What do you mean by "check whether an array is set"? Does it have
to have at least one element in it, or does an empty array count?
What are you actually trying to do?