summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2019-03-20 04:38:11 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2019-03-20 04:38:11 +0000
commitf1ed9dfacda1ee350806d32ceab75864076f6e0f (patch)
treeeb2a49518e33d21bda3ba51c99a02b14bd20c224 /usr.bin
parent20906558c5675a798fc1dae42984980b73affdc6 (diff)
remove incorrect escaping of '+', correctly escape '-', and garbage collect .Tn
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/diff/diff.115
1 files changed, 6 insertions, 9 deletions
diff --git a/usr.bin/diff/diff.1 b/usr.bin/diff/diff.1
index ce7f5a5d46f..6f3d07d97db 100644
--- a/usr.bin/diff/diff.1
+++ b/usr.bin/diff/diff.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: diff.1,v 1.47 2015/11/24 19:35:41 jmc Exp $
+.\" $OpenBSD: diff.1,v 1.48 2019/03/20 04:38:10 schwarze Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)diff.1 8.1 (Berkeley) 6/30/93
.\"
-.Dd $Mdocdate: November 24 2015 $
+.Dd $Mdocdate: March 20 2019 $
.Dt DIFF 1
.Os
.Sh NAME
@@ -107,11 +107,11 @@ by a line with fifteen
The lines removed from
.Ar file1
are marked with
-.Sq \&-\ \& ;
+.Sq \-\ \& ;
those added to
.Ar file2
are marked
-.Sq \+\ \& .
+.Sq +\ \& .
Lines which are changed from one file to the other are marked in
both files with
.Sq !\ \& .
@@ -183,9 +183,7 @@ a single section.
Comparison options:
.Bl -tag -width Ds
.It Fl a
-Treat all files as
-.Tn ASCII
-text.
+Treat all files as ASCII text.
Normally
.Nm
will simply print
@@ -304,8 +302,7 @@ Binary files which differ,
common subdirectories, and files which appear in only one directory
are described as such.
In directory mode only regular files and directories are compared.
-If a non-regular file such as a device special file or
-.Tn FIFO
+If a non-regular file such as a device special file or FIFO
is encountered, a diagnostic message is printed.
.Pp
If only one of