-
-
Save zlangley/0880df1ac38dec6bb5df to your computer and use it in GitHub Desktop.
Fix auto-generated Xcode file headers
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
# Assumes all header/implementation files want the filename on the second line. | |
# Run from your src directory. | |
for f in `find . -name '*.[mh]'`; do sed -i "" "2 s|.*|// `basename $f`|" "$f"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment