Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

addcr(1) [osx man page]

addcr(1)						      General Commands Manual							  addcr(1)

addcr - add a CR before each LF SYNOPSIS
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)

Check Out this Related Man Page

fmt(1)							      General Commands Manual							    fmt(1)

fmt - format text SYNOPSIS
width] [file...] DESCRIPTION
The command is a simple text formatter that fills and joins lines to produce output lines of (up to) the number of characters specified in the width option. The default width is 72. concatenates the arguments. If none are given, formats text from the standard input. Blank lines are preserved in the output, as is the spacing between words. does not fill lines beginning with a period for compatibility with Nor does it fill lines starting with Indentation is preserved in the output and input lines with differing indentation are not joined (unless is used). can also be used as an in-line text filter for the command: reformats the text between the cursor location and the end of the paragraph. Options recognizes the following options: Crown margin mode. Preserve the indentation of the first two lines within a paragraph and align the left margin of each subsequent line with that of the second line. This is useful for tagged paragraphs. Split lines only. Do not join short lines to form longer ones. This prevents sample lines of code, and other such "formatted" text, from being unduly combined. Fill output lines to up to width columns. WARNINGS
The width option is acceptable for BSD compatibility, but it may go away in future releases. SEE ALSO
nroff(1), vi(1). fmt(1)
Man Page