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 -->
  #3 (permalink)  
Old 05-17-2008
agn agn is offline
Registered User
 

Join Date: Feb 2008
Posts: 95
You mean this ?

Code:
for val in $(cut -f 2 -d'=' buf); do var1=$val; echo $var1; done
Reply With Quote