Write the commands to remove all the space characters stored in the shell variable text. Be sure to assign the result back to text. First use tr to do it and then do the same thing with sed.
4. Write the commands to assign the unique lines in the file names to the shell variable namelist.