Created
December 29, 2015 07:55
-
-
Save elsonwu/c6d75757657917699c79 to your computer and use it in GitHub Desktop.
Mac sed搜索替换
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LC_ALL=C sed -i '' 's/old string/new string/g' `grep -rl "keyword" ./` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment