There is开发者_StackOverflow no "sed" on my server so I should use python or perl to change recursive in all files old_text to new_text. Help me please to do it using perl or python.
perl -p -i -e 's/old_text/new_text/g' file1 file2 ...
There is开发者_StackOverflow no "sed" on my server so I should use python or perl to change recursive in all files old_text to new_text. Help me please to do it using perl or python.
perl -p -i -e 's/old_text/new_text/g' file1 file2 ...
精彩评论