There is going to be a problem with your sed line as the semi-column is not helping matters. You can try using a database for easy retrieval with your script. I hope it puts you on the way. On Wed, Jun 17, 2009 at 7:16 PM, Brian <emaillists at beckerspace.com> wrote: > > Can I use this > > > > for i `cat list.txt` | sed 's/Chloe/$i.1; /CA/$i.2/g' $i.letter.txt > > > > Why don't you just try it and see if it works? > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20090617/b2f5db85/attachment-0005.html>