aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src/eval.txt
blob: a662ebd6906c401dfe725d120f493ca8eb568575 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
\section eval eval - eval the specified commands

\subsection eval-synopsis Synopsis
<tt>eval [COMMANDS...]</tt>

\subsection eval-description Description
The <tt>eval</tt> builtin causes fish to evaluate the specified parameters as a command. If more than one parameter is specified, all parameters will be joined using a space character as a separator.

\subsection eval-example Example

<pre>
set cmd ls
eval $cmd
</pre>

will call the ls command.