Last active
October 10, 2018 10:35
-
-
Save m4r00p/4465b998aff1894a1e48fdba7979a90f to your computer and use it in GitHub Desktop.
4 spaces to 2 spaces
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 . -type f -exec sed -i.orig 's/ / /g' {} + |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On mac you need to add LC_ALL=C otherwise it will throw exception sed: RE error: illegal byte sequence