The big problem that I am having is how to create the arrays (or arrays of pointers really) to dynamically assign memory at run time, to be able to collect the information from multiple selections ...
Command interpreters and scripting languages like the Bash shell are essential tools of any operating system. Here’s how to use powerful data structures in Bash called associative arrays or hashes.