February 2001
Beginner to intermediate
448 pages
9h 2m
English
Official Description
The arguments are read as input to the shell, and the resulting command(s) is executed.
Syntax
eval [ arg ... ]
Options
None
Oddities
Evaluates arguments, forms a command, and executes the command.
Example
$ search=num $ num=17 $ eval print /'$'$search/ | ed – buzz # $search evals to num, $num evals to 17 integer x=17 $ $ unset num $ eval print /'$'$search/ | ed - buzz ? $
Read now
Unlock full access