I am looking for a way to convert CRLF into a \n. Exemple :
What i have :
Line 1
Line 2
What i expect :
Line 1\nLine 2
I have a application that hates CRLF LF and end of line ?
Looking to do it in shell script or java application at worse.
Thank you