From: Bob T <bo...@el...> - 2002-10-01 21:34:26
|
In spite of my personal distaste for "studlyCaps" convention, I'll offer this way to do it quick-like: To change all instance of cms_port to cms_bridge, in every file in the current directory and below: perl -pi -e 's?cms_port?cms_bridge?g' . To do the same thing, but finding files with grep that contain "doobee": perl -pi -e 's?cms_port?cms_bridge?g' `grep -lr doobee` Enjoy! |