< Shell Programming
The eval command is like an extra $ in shell scripting. It evaluates a string and attempts to expand it as a variable. For example the following evaluates the string as $horse and expands the value of variable horse.
eval $"horse"
This article is issued from
Wikibooks.
The text is licensed under Creative
Commons - Attribution - Sharealike.
Additional terms may apply for the media files.