Skip to content

Instantly share code, notes, and snippets.

@anthager
Created May 31, 2019 10:23
Show Gist options
  • Select an option

  • Save anthager/ac5e5f947416e01b6c69cf64f2e531f0 to your computer and use it in GitHub Desktop.

Select an option

Save anthager/ac5e5f947416e01b6c69cf64f2e531f0 to your computer and use it in GitHub Desktop.
replace "hidden line breaks in a .pem file with \n"
awk 'NF {sub(/\r/, ""); printf "%s\\n",$0;}' ca.pem
@anthager
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment