awk command line for concatenating certificate file into string
planted on in: awk.
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
— Ed Morton via Stackoverflow | link