awk command line for concatenating certificate file into string
~47 words, about a 1 min read
I needed a way of converting a certificate file into a single string for inclusion in env variable this awk command did the job perfectly.
awk -v ORS='\\n' '1' id_rsa