17 Feb 2021
Write a shell script to concatenate lists together, and output the resulting list
Do not include any argument that is a sub-list of the entire list. (The script will clean the list of any redundant items.) You must preserve the original order of the list. Remember to account for the following situations:
a : at the beginning of the list is the same as a . at the beginning of the “list” o :/bin is the same as .:/bin
a :: anywhere in the list is the same as :.: o /bin::/etc is the same as /bin:.:/etc
a : at the end of the list is the same a :. o /bin: is the same as /bin: