Bash eval: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * bash")
 
Line 2: Line 2:


* [[Bash#Built-In_Commands|bash]]
* [[Bash#Built-In_Commands|bash]]
=Overview=
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.

Revision as of 18:06, 2 February 2018

Internal

Overview

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.