mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-27 11:43:37 +08:00
2c02b59703
darcs-hash:20070422221806-ac50b-28cffc6c3063c14cd8ab30f999e3530314c78af2.gz
17 lines
456 B
Plaintext
17 lines
456 B
Plaintext
\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.
|