Created
August 28, 2019 13:41
-
-
Save TobleMiner/9a85712fb187bb1ea992b5801eb23391 to your computer and use it in GitHub Desktop.
Simple funtion for removing trailing whitespace from source code 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
remove_trailing_whitespace() { | |
sed -i 's/[[:space:]]\+$//g' $@ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment