Best search & replace program
I have 1,000 text files spread over 200 folders at various depths. I want to replace "This long, complex string" with "this different, long and complex string" in every file.
So, I want to say to my command line program:
"Go look in this folder and replace every instance of X with Y."
What script/program on the command line can do this?
I'm familiar with search and replace in vi and search with grep. I imagine grep can pipe to vi for this maybe?
|