Created
December 8, 2014 13:33
-
-
Save ssoper/cfea9de56206189a0dd1 to your computer and use it in GitHub Desktop.
Remove blank lines from a file that start with empty space. Fairly common with Xcode files.
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
sed -i '' 's/^ *$//g' $1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment