<quote who="Mada R Perdhana">

> find . -exec grep "www.athabasca" '{}' \; -print

This is massively inefficient. A better choice would be grep -rl piped to
xargs.

grep -rl www.athabasca | xargs sed -i 's#www.athabasca#www.bathsheba#'

- Jeff

-- 
OSDC 2008: Sydney, Australia                    http://www.osdc.com.au/2008/
 
    "It will test your head. And your mind. And your brain, too." - Jack
                           Black, School of Rock
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to