Last active
January 12, 2018 13:58
-
-
Save wongzigii/a96816dfb124278fc50c9820ff60a6dc to your computer and use it in GitHub Desktop.
Remove useless header comments from Xcode templates
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
#!/bin/bash | |
find -E $(xcode-select --print-path) -regex '.*___\.(c|h|m|swift)' -print0 | xargs -0 -n 1 sed -i '' '1,/^$/d' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment