Recently, my Father had a very particular request for a script he needed for his work. The script had to take a text in the format of "echo 'command', command" and echo the command name back, break for a newline then echo the command's output. I did, this, but I also constructed a generalized more useful variant of this application.
Consider a file with each line being a command. This shell script will echo the name of the command, then on a new line echo the output of the command and then on a new line repeat this for the next line in the text. What this enables is running a lot of commands and having output that can be piped out to a text or other command.