[CentOS] script help
chloe K
chloekcy2000 at yahoo.caWed Jun 17 17:54:07 UTC 2009
- Previous message: [CentOS] applying kernel patch
- Next message: [CentOS] script help
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.html>
- Previous message: [CentOS] applying kernel patch
- Next message: [CentOS] script help
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list