Skip to content

Instantly share code, notes, and snippets.

@rmacian
Created April 8, 2020 19:40
Show Gist options
  • Save rmacian/34aabbae4de20cf20ec46fd613a9c3b7 to your computer and use it in GitHub Desktop.
Save rmacian/34aabbae4de20cf20ec46fd613a9c3b7 to your computer and use it in GitHub Desktop.
Delete trailing spaces
#al crear un fichero con kubectl --from-file lo va a crear como un string escapado si hay espacios antes del final de linea, en OSX:
sed -i '' -e's/[[:space:]]*$//' fichero
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment