Skip to content

Instantly share code, notes, and snippets.

@myfavouritekk
Created December 2, 2014 03:17
Show Gist options
  • Save myfavouritekk/26a56076380e1a212998 to your computer and use it in GitHub Desktop.
Save myfavouritekk/26a56076380e1a212998 to your computer and use it in GitHub Desktop.
Remove surplus carriage returns and end of file characters in windows files.
tr -d '\015\032' < windows_file > unix_file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment