Skip to content

Instantly share code, notes, and snippets.

@gusmantap
Created January 3, 2020 17:34
Show Gist options
  • Save gusmantap/cc56962f3e6904fb7506fdacc6c2a3d7 to your computer and use it in GitHub Desktop.
Save gusmantap/cc56962f3e6904fb7506fdacc6c2a3d7 to your computer and use it in GitHub Desktop.
For those who don't have dos2unix installed (and don't want to install it): Remove trailing \r character that causes this error:
sed -i 's/\r$//' filename
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment