one liner needed for search and replace
I need a quick oneliner - either perl or bash to search all files in the current directory for the expression "fred_flintstone" and replace it with "barny_rubble". I wrote a perl script to do this a few weeks ago, but it's at home on my laptop.. and I'm up to /here/ right now at work !
any help would be much appreciated.
so far I have got to
$ find -type f | xargs /bin/sed s/fred_flintstone/barny_rubble/
but I can't work out how to redirec the output back into the file found!