Created
October 29, 2017 19:07
-
-
Save pascalbros/4980a4664490cf68110ac8cada2585a4 to your computer and use it in GitHub Desktop.
Replace whitespaces with tabs in a Xcode Project
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 . -name "*.swift" | while read line; do unexpand -t 4 "$line" > "$line.new"; mv "$line.new" "$line"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment