Hello
when I need to search and replace some code in several files I use this
Code:
find /your/home/dir -name "*.txt" | xargs perl -pi -e 's/stringtoreplace/replacementstring/g
Well,
when I have to search and replace something like this
on the same line I have no problem
when I have to search and replace something like this
with the code on separate lines I Can't . What to do to search and replace
with
?
Thank you