Skip to content

Conversation

@hginzel
Copy link
Contributor

@hginzel hginzel commented Apr 28, 2021

https://stackoverflow.com/questions/149057/how-to-remove-trailing-whitespace-of-all-files-recursively

export LC_CTYPE=C LANG=C
find . -not ( -name .svn -prune -o -name .git -prune ) -type f -print0 | perl -0ne 'print if -T' | xargs -0 sed -Ei 's/[[:blank:]]+$//'

hginzel added a commit to hginzel/screenFetch that referenced this pull request Apr 28, 2021
# KittyKatt#720
export LC_CTYPE=C
export LANG=C
find . -not \( -name .svn -prune -o -name .git -prune \) -type f -print0 | perl -0ne 'print if -T' | xargs -0 sed -Ei 's/[[:blank:]]+$//'
hginzel added a commit to hginzel/screenFetch that referenced this pull request Apr 28, 2021
# KittyKatt#720
export LC_CTYPE=C LANG=C
find . -not \( -name .svn -prune -o -name .git -prune \) -type f -print0 | perl -0ne 'print if -T' | xargs -0 sed -Ei 's/[[:blank:]]+$//'
# https://stackoverflow.com/questions/149057/how-to-remove-trailing-whitespace-of-all-files-recursively
export LC_CTYPE=C LANG=C
find . -not \( -name .svn -prune -o -name .git -prune \) -type f -print0 | perl -0ne 'print if -T' | xargs -0 sed -Ei 's/[[:blank:]]+$//'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants