CR LF

acronym

networkingprogramming

Kept in this browser · My desk

Stands for: Carriage Return, Line Feed

The two-character line ending, carriage return then line feed (bytes 0D 0A), that SMTP, POP3, IMAP and FTP put at the end of every line.

Windows text files end their lines the same way and Unix files use the line feed alone, and the difference bites wherever a file meets a protocol: RFC 5321 says a conforming SMTP implementation must not recognize any other line terminator, while a BIG-IP Scripted monitor file must use LF alone and writes the protocol's CR LF as the escapes \r\n inside each send.

Also known as: crlf, cr-lf, carriage return line feed

← Back to C Back to the glossary