Skip to content

Instantly share code, notes, and snippets.

@MrClement
Created August 23, 2015 01:33
Show Gist options
  • Save MrClement/89ad7f53da515e43916e to your computer and use it in GitHub Desktop.
Save MrClement/89ad7f53da515e43916e to your computer and use it in GitHub Desktop.
Replace Carriage Returns on OSX
sed -i .bak 's/^M/\'$'\n/g' ip_email.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment