docs/88427: Diff (1) error.
Jimmie James
jimmiejaz at gmail.com
Thu Nov 3 02:40:20 UTC 2005
>Number: 88427
>Category: docs
>Synopsis: Diff (1) error.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-doc
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: doc-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Nov 03 02:40:17 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Jimmie James
>Release: FreeBSD 6.0-RC1
>Organization:
Toronto 2600
>Environment:
FreeBSD fortytwo.zapto.org 6.0-RC1 FreeBSD 6.0-RC1 #0: Fri Oct 21 20:25:22 EDT 2005 root at fortytwo.zapto.org:/usr/obj/usr/src/sys/FORTYTWO i386
>Description:
man (1) diff says to use diff -crN foo.orig foo >foo.diff to create a diff patch, where it should be -urN (as told to me by dho on ##freebsd)
>How-To-Repeat:
Read the man (1) diff and on the website http://www.freebsd.org/cgi/man.cgi?query=diff&sektion=1
>Fix:
--- diff.orig Wed Nov 2 21:31:06 2005
+++ diff.1 Wed Nov 2 21:31:17 2005
@@ -494,7 +494,7 @@
.B send-pr(1)
program), you could type
.sp
-diff -crN foo.orig foo >foo.diff
+diff -urN foo.orig foo >foo.diff
.sp
where
.I foo.orig
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-doc
mailing list