Text-only | Table of Contents (frame/ no frame) |
(21) Miscellaneous |
![]() ![]() ![]() |
eval
args
netdev=NETDEV_ NETDEV_1=hme0 # As part of an initialization step defining multiple devices devnum=1 # As part of a loop over those devices ifname=$netdev$devnum # construct a variable name NETDEV_1 eval device=\$$ifname # evaluate it - device is set to hme0
exec
command args
:
while :; do # this loop will go forever until broken by # a conditional test inside, or a signal done
unset
var ...
typeset
[+/- options] [ name[=value] ] ...
(ksh only,
bash uses declare
for similar functions)
-L[n]
-R[n]
-l
integer
is an alias for typeset -i
.
misc-internal.src last modified Sep 14, 2005 | Introduction | Table of Contents (frame/no frame) |
Printable (single file) |
© Dartmouth College |