I have the string below stored in my database column:
"Your ack was rejected due to the following reason: \n -- Invalid code received. \n \n Please correct the error and resend."
\n
is the new line character where I want to split the line.
Expected output:
"Your ack was rejected due to the following reason:
-- Invalid code received.
Please correct the error and resend it."
Please suggest unix/sed command