[CentOS] sed help

chloe K chloekcy2000 at yahoo.ca
Tue Mar 9 16:56:51 UTC 2010


Hi

Can I know how to use sed to substitue 2 instead of 1 at the same time?

eg:

sed 's/pchloe.com/abc.com/ ; /192.92.123.5/10.10.0.3/g' orgfile >> newfile

thank you


      __________________________________________________________________
Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-new Yahoo! Mail.  Click on Options in Mail and switch to New Mail today or register for free at http://mail.yahoo.ca


More information about the CentOS mailing list