[CentOS] script help

Wed Jun 17 17:54:07 UTC 2009
chloe K <chloekcy2000 at yahoo.ca>

Hi
 
I have a file. list.txt (two columns)
 
column1    column2
name        address
 
 
I need to put in the letter file letter.txt eg:
 
Dear: Chloe
Address: CA
 
Can I use this 
 
for i `cat list.txt` | sed 's/Chloe/$i.1; /CA/$i.2/g' $i.letter.txt
 
Thank you for your help
 
 
 
 
 


      __________________________________________________________________
Looking for the perfect gift? Give the gift of Flickr! 

http://www.flickr.com/gift/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20090617/84cbec60/attachment-0004.html>