Need shell/sed script for grep+string replacement

Hi,

Let me explain the situation.

There are many files in a directory and its sub-directories that conatin the string pattern "pa". I want to replace all such instances with the pattern "pranavagarwal"

doing a

grep "pa" `ls`

does give me all the instances of the occurence of that paatern.

Do i need a sed script in conjunction with this grep to replace all occurences?
What options do i have to do it, I mean, can I do it in more than one way?

find . -type f | xargs sed -i 's/pa/pranavagarwal/g'

be careful though, pa would also match parrot and darpan

thank you for the post friend,
but the msg i got is..

sed: illegal option -- i

i know the mistake is mine.
I didn't specify that I'm working on SunOS SPARC version of Unix. may be that's why the -i didn't work.

another thing.. do remember that i want to do it for files in all sub-directories as well..

thank you and ciao!

Perl ?

find . -type f | xargs perl -pi -e 's/pa/pranavagarwal/g'