SYNOPSIS
eval [argument ...]
DESCRIPTION
The KornShell evaluates each argument as it would for any command. eval then concatenates the resulting strings, separated by spaces, and evaluates and executes this string in the current shell environment.
EXAMPLE
The command:
for a in 1 2 3 do eval x$a=fred done
sets variables x1, x2 and x3 to fred. Once this has been done,
echo $x1 $x2 $x3
produces:
fred fred fred
DIAGNOSTICS
Possible exit status values are:
Otherwise, the exit status of eval is the exit status of the command that eval executes.
PORTABILITY
POSIX.2. x/OPEN Portability Guide 4.0. All UNIX systems. Windows 2000. Windows XP. Windows Server 2003. Windows Vista. Windows 7. Windows Server 2008. Windows 8. Windows Server 2012.
NOTE
This is a special built-in command of the MKS KornShell.
AVAILABILITY
MKS Toolkit for Power Users
MKS Toolkit for System Administrators
MKS Toolkit for Developers
MKS Toolkit for Interoperability
MKS Toolkit for Professional Developers
MKS Toolkit for Enterprise Developers
MKS Toolkit for Enterprise Developers 64-Bit Edition
MKS Integrity
SEE ALSO
MKS Toolkit 9.5 Documentation Build 3.