On Fri, 2 Aug 2019 at 14:07, Brett Parker iDunno@sommitrealweird.co.uk wrote:
Well, personally, I'd do something like: [[..snip..]]
That's a really concise example, thanks. I didn't know about bash arrays until I asked the initial question and I have a feeling I'll be using them quite a lot in future now.