Revision [994]

This is an old revision of CommandEval made by DavidLee on 2009-11-25 09:56:41.

 

Command eval


Name

eval Evaluates its arguments as a command and executes it


Synopsis


eval [cmd]

The eval command parses its arguments, concatenates them with spaces then passes the resultant string to the current Shell for evaluation and execution. This command can be used to dynamically construct and execute commands.



Examples


Example
A="echo foo"
eval $A

Result
foo


Commands
CategoryCommands

There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki