On 10/25/2017 12:47 PM, Warren Young wrote: > > You’re making things hard on yourself by insisting on Bash, by the way. This solution is better expressed in Perl, Python, Ruby, Lua, JavaScript…probably dozens of languages. Yeah, you're right, I am. An associative array was the first thing I thought of, then realized BASH doesn't do those. I honestly expected there to be a fairly straight forward way to do it in BASH, but I was sadly mistaken. In my defense, I gave virtually no thought on the logic of what I was trying to do until after I'd committed significant time to a BASH script. (Well maybe that's not a defense, but an indictment.) As I said, I don't do much scripting anymore as the majority of my time is spent DB tuning and Ansible automation. Not really an excuse, and I appreciate your indulgence(s) in giving me a hand. As embarrassed as I am, I'll just go sit in the corner the rest of the day. Thanks again. -- Mark Haney Network Engineer at NeoNova 919-460-3330 option 1 mark.haney at neonova.net www.neonova.net