View Single Post

  #2 (permalink)  
Old 06-16-2007, 05:00 PM
cyrus cyrus is offline
Senior Member
 
Join Date: Apr 2006
Posts: 153
cyrus is on a distinguished road
You can try awk programming as below:
awk '{ for(x=2;x<=NF;x++) print $1, $x }' filename

By using the above you could read all your files and get the output from these files with each word written in a separate line. Try out and let us know for further needs.
Reply With Quote