From aa48048520d3b8b670d4a0bcaaad0277e68fdec1 Mon Sep 17 00:00:00 2001 From: schwarze Date: Tue, 21 Dec 2021 08:07:20 +0000 Subject: [PATCH] state up front that patch(1) operates on text files, fixing an omission pointed out by chrisz@; OK jmc@ deraadt@ chrisz@ --- usr.bin/patch/patch.1 | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/usr.bin/patch/patch.1 b/usr.bin/patch/patch.1 index 18d06779764..af3dccb50d6 100644 --- a/usr.bin/patch/patch.1 +++ b/usr.bin/patch/patch.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: patch.1,v 1.33 2021/11/09 16:13:40 jmc Exp $ +.\" $OpenBSD: patch.1,v 1.34 2021/12/21 08:07:20 schwarze Exp $ .\" Copyright 1986, Larry Wall .\" .\" Redistribution and use in source and binary forms, with or without @@ -19,7 +19,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: November 9 2021 $ +.Dd $Mdocdate: December 21 2021 $ .Dt PATCH 1 .Os .Sh NAME @@ -47,10 +47,12 @@ .Pf \*(Lt Ar patchfile .Sh DESCRIPTION .Nm -will take a patch file containing any of the four forms of difference +takes the text file +.Ar patchfile +containing any of the four forms of difference listing produced by the .Xr diff 1 -program and apply those differences to an original file, +program and applies those differences to an original text file, producing a patched version. If .Ar patchfile -- 2.20.1