Skip to content

Instantly share code, notes, and snippets.

@basilleaf
Created August 15, 2013 22:28
Show Gist options
  • Save basilleaf/6245549 to your computer and use it in GitHub Desktop.
Save basilleaf/6245549 to your computer and use it in GitHub Desktop.
replace Windows/DOS line breaks (^M) with linux style line breaks
perl -pi -e 's/\015/\r\n/g' file.tab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment