Skip to content

Instantly share code, notes, and snippets.

@burhanloey
Last active February 22, 2019 07:54
Show Gist options
  • Save burhanloey/afc0c67cc8d8a7bfd110d6e903927403 to your computer and use it in GitHub Desktop.
Save burhanloey/afc0c67cc8d8a7bfd110d6e903927403 to your computer and use it in GitHub Desktop.
Removes spaces and tabs at the end of lines
sed -i 's/[[:blank:]]*$//' file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment