-
-
Save tarsisazevedo/1261813 to your computer and use it in GitHub Desktop.
Remove trailling caracters from all files in the folder
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
for f in $(find -name \*.py | xargs egrep -r -l '\s+$') ; do | |
sed -r -i 's/\s+$//' $f ; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment