sed help

chloe K chloekcy2000 at
Wed Jun 17 18:22:10 UTC 2009

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

The new Internet Explorer® 8 - Faster, safer, easier.  Optimized for Yahoo!  Get it Now for Free! at

More information about the freebsd-questions mailing list