Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Aug 2002 11:34:01 +0200 (CEST)
From:      Anton Berezin <tobez@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   docs/41887: Document -p option to diff(1)
Message-ID:  <200208220934.g7M9Y1XJ006698@svin.catpipe.net>

next in thread | raw e-mail | index | archive | help

>Number:         41887
>Category:       docs
>Synopsis:       Document -p option to diff(1)
>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 Aug 22 02:40:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Anton Berezin
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
The FreeBSD project
>Environment:
System: FreeBSD svin.catpipe.net 4.6-STABLE FreeBSD 4.6-STABLE #4: Sun Jun 16 17:41:21 CEST 2002 tobez@svin.catpipe.net:/data/stable-obj/data/stable-src/sys/SVIN-STABLE i386


	
>Description:
We support diff -p, which is the same as diff --show-c-function, but it
is not documented.
>How-To-Repeat:
man 1 diff
>Fix:

Index: diff.1
===================================================================
RCS file: /home/ncvs/src/gnu/usr.bin/diff/diff.1,v
retrieving revision 1.7
diff -u -r1.7 diff.1
--- diff.1	11 Jul 2002 21:11:26 -0000	1.7
+++ diff.1	22 Aug 2002 09:30:04 -0000
@@ -317,6 +317,9 @@
 to output a line taken from just the first file in
 if-then-else format.
 .TP
+.B \-p
+Show which C function each change is in.
+.TP
 .B \-P
 When comparing directories, if a file appears only in the second
 directory of the two, treat it as present but empty in the other.

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208220934.g7M9Y1XJ006698>