help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Use of $@


From: Kerin Millar
Subject: Re: Use of $@
Date: Tue, 21 Feb 2023 11:32:49 +0000

On Tue, 21 Feb 2023 12:13:42 +0100
Andreas Kusalananda Kähäri <andreas.kahari@abc.se> wrote:

> > Unfortunately, the function is incorrect to begin with.
> 
> This depends on the semantics that you give to the index function. If
> you want to get the index in the *array* of the element, yes, then you
> have to deal with name references or indirection to examine the actual
> array.  If you want to get the index of the element in the list of
> arguments to the function, you obviously can use the original approach.

Yes. This was noted towards the end of my post.

-- 
Kerin Millar



reply via email to

[Prev in Thread] Current Thread [Next in Thread]