On Wed, 2007-09-26 at 20:28 +1000, Matthew Hannigan wrote: > On Wed, Sep 26, 2007 at 05:11:32PM +0800, Deeþan Chakravarthy wrote: > > $sed -e "s|foo|/bar|g" foo > > > > The above command works fine. You can use any character as delimiter. I > > chose to use | .
Lesson #83 man doesn't mention delimiter options, but info does. looks like I need to get familiar with info > My favourite alternative to / is comma, it doesn't need you to hit shift > and you are not often searching for it. > > Quiz. > 1. what words from /usr/share/dict/words are valid sed expressions? > syzygy is one! > > 2. craft a sed expression to search for valid sed expressions from > /usr/share/dict/words > > > Matt > > > -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html