Problem scenario
You have a variable in a Bash script that helps you compose a new Bash command. You want to create a complex and dynamic Bash command. This variable includes one or more spaces in it.
You can echo the commands and verify that these are valid Linux commands. You run them and they test out. But to run automatically in a script, you are finding that it can be difficult.
…