KittyKatt / screenFetch

Fetches system/theme information in terminal for Linux desktop screenshots.
GNU General Public License v3.0
3.83k stars 453 forks source link

Remove trailing whitespace characters #720

Closed hginzel closed 3 years ago

hginzel commented 3 years ago

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:]]+$//'