grep + sed for find & replace fun!
- by Jim Greenleaf
I have a dev copy of a website set up that has quite a few hardcoded references to its live counterpart.
I would like to replace all occurrences of "www." with "dev." in all files.
I think I can use a combination of grep + sed, but I'm not sure how.