The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 11-22-2007
ranj@chn ranj@chn is offline
Playing with Ubuntu Now!
 

Join Date: Oct 2005
Location: Chennai
Posts: 364
try this

Code:
#!/bin/ksh
while (($1))
do
echo $1
shift
done
For your 'for' loop issue try
Code:
eval echo \$$i
Reply With Quote