addcr(1)

addcr1

Inserts a cr (\015) before each lf (\012)

Usage

addcr

Overview

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.

Releases

Unchanged in 9 releases since Debian 5.0 (Lenny).

  1. 5.0–13

From ucspi-tcp 1:0.88-13 in Debian 13 (Trixie). Also shipped by ucspi-tcp-ipv6. Parsed by carta from the page's man source.