eval

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 arguments or only empty arguments, the return status is zero.

This is a BASH shell builtin, to display your local syntax from the bash prompt type: help [e]val

“It isn’t easy being green” ~ Kermit the Frog

Related macOS commands

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.


 
Copyright © 1999-2024 SS64.com
Some rights reserved