Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #15824
| From | Greg Wooledge <wooledg@eeg.ccf.org> |
|---|---|
| Newsgroups | gnu.bash.bug |
| Subject | Re: Code addition to BASH |
| Date | 2020-01-21 16:15 -0500 |
| Message-ID | <mailman.3171.1579641390.1979.bug-bash@gnu.org> (permalink) |
| References | <CANx=xzbMYaYR0SCWntJr0Mv9JQ=Nsx7iBaaGrUd6-JvN0appNA@mail.gmail.com> <a92035ce-32f4-367a-f308-cbc3eb423adf@case.edu> <CANx=xzbst=op=kY9z8q4FYAyqOeK2Tp5zhMpKJcpr-EmVfpv4Q@mail.gmail.com> <e27ac04f-beda-eb0a-801f-0747c3820332@case.edu> <20200121211551.GL851@eeg.ccf.org> |
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.
Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread
Re: Code addition to BASH Greg Wooledge <wooledg@eeg.ccf.org> - 2020-01-21 16:15 -0500
csiph-web