Quantcast
Channel: UNIX and Linux Forums
Viewing all articles
Browse latest Browse all 16232

Appending CRLF to end of record

$
0
0
I need to append |\r\n (a pipe character and CRLF) at end of each record in Unix to all records where they are not already present.

So first check for the presence of |\r\n and if absent append it else do nothing

Viewing all articles
Browse latest Browse all 16232

Trending Articles