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

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

\subsection eval-description Description
The <tt>eval</tt> function 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.