Evaluate several commands/arguments.
Syntax eval arg ...
The args are read and concatenated together into a single command.
This command is then read
and executed by the shell, and its exit status is returned as the value of eval.
If there are
no args, or only null arguments, eval returns 0.
eval is a bash builtin command.
“It isn't easy being green” - Kermit the Frog
Related:
awk - Find and Replace text within file(s)
case - Conditionally perform a command
expr - Evaluate expressions
for - Loop, expand words, and execute commands
test - Condition evaluation