The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 08-26-2007
navojit dutta navojit dutta is offline
Registered User
 

Join Date: Jul 2007
Location: india
Posts: 25
Instead of echo $[$MYVAR], you can use : echo ${!MYVAR}...It will be working fine.
Reply With Quote