On Sat, 16 Apr 2022 at 18:20, wilson <[email protected]> wrote: > does bash shell have the list/array concept?
Hi, this mailing list is very kind, and as part of that kindness I want to offer you some kind advice. First, no mailing list will have the patience to teach you every feature of a programming language, one question at a time. So, here are two excellent websites for self-learning about shell scripting: https://www.shellcheck.net/ and http://mywiki.wooledge.org/BashGuide http://mywiki.wooledge.org/BashFAQ wooledge.org will inform you, and shellcheck.net will correct and advise improvements to any code that you paste into it. Second, a good place to ask for help is on this mailing list specifically for questions about shells and scripting: [email protected] which has archives here: https://lists.gnu.org/archive/html/help-bash/ Most of the people who give answers on that list are extremely knowledgable about shell scripting. That's not the case here. Shell scripting is hard, and people who haven't spent a lot of time digging into all the details often do not give good advice. The same is true of the web, a lot of public shell examples are suboptimal in some way. Here's the answer to your question: http://mywiki.wooledge.org/BashGuide/Arrays

