---
name: "addcr"
section: "1"
platform: "linux"
package: "ucspi-tcp"
version: "1:0.88-13"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/addcr"
---

# addcr(1)

inserts a CR (\\015) before each LF (\\012)

## NAME

addcr - inserts a CR (\\015) before each LF (\\012)

## SYNOPSIS

**addcr**

## DESCRIPTION

**addcr** inserts a CR (\\015) before each LF (\\012), i.e., at the end of each line of input. It does not insert a CR at the end of a partial final line.

**addcr** reads input from stdin and writes to stdout.

## SEE ALSO

[tcpserver(1)](/tcpserver/1.md), [tcprules(1)](/tcprules/1.md), [tcprulescheck(1)](/tcprulescheck/1.md), [argv0(1)](/argv0/1.md), [fixcrio(1)](/fixcrio/1.md), [recordio(1)](/recordio/1.md), [rblsmtpd(1)](/rblsmtpd/1.md), [tcpclient(1)](/tcpclient/1.md), who@(1), date@(1), finger@(1), http@(1), [tcpcat(1)](/tcpcat/1.md), [tcp-environ(5)](/tcp-environ/5.md)

http://cr.yp.to/ucspi-tcp.html
