In Sunos Ksh ...
if iplist contains a list of ip address :
while read ips
do
$nlist=`echo $ips`
echo "$nlist"
done < iplist
every time through the loop, $nlist is rewritten.
I want to append a variable with every iteration through the loop instead of rewriting it. (although wrong) something like this ..
echo $nlist >> $finallist
Thanks alot
if iplist contains a list of ip address :
while read ips
do
$nlist=`echo $ips`
echo "$nlist"
done < iplist
every time through the loop, $nlist is rewritten.
I want to append a variable with every iteration through the loop instead of rewriting it. (although wrong) something like this ..
echo $nlist >> $finallist
Thanks alot