SIMPLE SOLUTIONS

ADDCR(1) - man page online | user commands

Add a CR before each LF.

Chapter
addcr(1)                             General Commands Manual                             addcr(1)

NAME

addcr - add a CR before each LF

SYNOPSIS

addcr

DESCRIPTION

addcr inserts CR at the end of each line of input. It does not insert CR at the end of a partial final line.

COMPATIBILITY

Some vendors ship unix2dos or bsd2dos tools similar to addcr. Those tools often blow up on long lines and nulls. addcr has no trouble with long lines and nulls.

SEE ALSO

delcr(1), fixcr(1)
addcr(1)
This manual Reference Other manuals
addcr(1) referred by delcr(1) | finger@(1) | fixcr(1) | http@(1)
refer to delcr(1) | fixcr(1)