Evaluate several commands/arguments

      eval [arguments]

The arguments are concatenated together into a single command, which is then read and executed, and its exit status returned as the exit status of eval. If there are no arguments or only empty arguments, the return status is zero.

eval is a POSIX `special' builtin

"If you get to the edge of the penalty area with the ball and don't know what to do next, just stick the ball in the net for now. We can evaluate the other options later" ~ Bill Shankley


case - Conditionally perform a command
expr - Evaluate expressions
for - Expand words, and execute commands
gawk - Find and Replace text within file(s)
test - Evaluate a conditional expression
Equivalent Windows command: CALL - Call one batch program from another

Copyright © SS64.com 1999-2017
Some rights reserved