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 the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #5 (permalink)  
Old 12-04-2007
user_prady user_prady is offline
Registered User
  
 

Join Date: Sep 2007
Posts: 163
Quote:
Originally Posted by ghostdog74 View Post
Code:
awk 'BEGIN { 
  line[1]="a"
  line[2]="b"
  line[3]="c"
  for ( i=1;i<=3;i++) {
    result=result""line[i]
  }
  print result
}'
Thank you I got that.. Many many thanks ..