On Tue, Jan 21, 2020 at 04:14:52PM -0500, Chet Ramey wrote: > On 1/21/20 4:13 PM, William Theisen wrote: > > I've just tested this, it's a little awkward but does actually work. Thanks > > for the suggestion I'll play around with making it a little more > > convenientĀ to use. Thanks for your time. > > If you don't want to destroy your script's positional parameters, you can > wrap your loop in a shell function, which has its own set.
Or use an indexed array variable.