File: delcr.1

package info (click to toggle)
ucspi-tcp-src 0.88-15
  • links: PTS
  • area: non-free
  • in suites: lenny, squeeze
  • size: 1,380 kB
  • ctags: 761
  • sloc: ansic: 6,758; makefile: 854; sh: 312
file content (30 lines) | stat: -rw-r--r-- 523 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
.TH delcr 1
.SH NAME
delcr \- remove a CR before each LF
.SH SYNOPSIS
.B delcr
.SH DESCRIPTION
.B delcr
removes a CR at the end of each line of input,
if a CR is present.
It also removes a CR at the end of a partial final line.

The pipeline

.EX
     addcr | delcr
.EE

prints an exact copy of its input.
.SH COMPATIBILITY
Some vendors ship
.B dos2unix
or
.B dos2bsd
tools similar to
.BR delcr .
Those tools often blow up on long lines and nulls.
.B delcr
has no trouble with long lines and nulls.
.SH "SEE ALSO"
addcr(1)