summaryrefslogtreecommitdiff
path: root/ucspi-tcp-0.88/delcr.1
diff options
context:
space:
mode:
authorJohn Denker <jsd@av8n.com>2012-07-26 11:00:48 -0700
committerJohn Denker <jsd@av8n.com>2012-07-29 15:32:37 -0700
commit01ef1d365e5776b130e8b65772a80b6adcb0ed46 (patch)
treef0e7d3e161f82180e834a6368d41b79272ab013a /ucspi-tcp-0.88/delcr.1
parent9aa998757a8736cef02fd92050eacbb2a6fb5180 (diff)
files added by IPv6 patch
Diffstat (limited to 'ucspi-tcp-0.88/delcr.1')
-rw-r--r--ucspi-tcp-0.88/delcr.130
1 files changed, 30 insertions, 0 deletions
diff --git a/ucspi-tcp-0.88/delcr.1 b/ucspi-tcp-0.88/delcr.1
new file mode 100644
index 0000000..18ea736
--- /dev/null
+++ b/ucspi-tcp-0.88/delcr.1
@@ -0,0 +1,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)