Created
December 25, 2013 08:03
-
-
Save y-ogi/8121217 to your computer and use it in GitHub Desktop.
Objective-Cのコード上の日本語文字列を抜き出す(大体)
This file contains 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
find ./ -name "*.m" | xargs cat | python -c "import sys,re;print('\n'.join([s for s in re.compile(r'@\"([^\"]+)\"').findall(sys.stdin.read()) if re.search(r'[^\x01-\x7E]', s)]))" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment