From tobez@svin.catpipe.net  Thu Aug 22 02:34:10 2002
Return-Path: <tobez@svin.catpipe.net>
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id C64B437B400
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 22 Aug 2002 02:34:10 -0700 (PDT)
Received: from svin.catpipe.net (svin.catpipe.net [195.249.214.173])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 0F63B43E42
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 22 Aug 2002 02:34:10 -0700 (PDT)
	(envelope-from tobez@svin.catpipe.net)
Received: from svin.catpipe.net (localhost.catpipe.net [127.0.0.1])
	by svin.catpipe.net (8.12.3/8.12.3) with ESMTP id g7M9Y2us006699
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 22 Aug 2002 11:34:02 +0200 (CEST)
	(envelope-from tobez@svin.catpipe.net)
Received: (from tobez@localhost)
	by svin.catpipe.net (8.12.3/8.12.3/Submit) id g7M9Y1XJ006698;
	Thu, 22 Aug 2002 11:34:01 +0200 (CEST)
Message-Id: <200208220934.g7M9Y1XJ006698@svin.catpipe.net>
Date: Thu, 22 Aug 2002 11:34:01 +0200 (CEST)
From: Anton Berezin <tobez@freebsd.org>
Reply-To: Anton Berezin <tobez@freebsd.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Document -p option to diff(1)
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         41887
>Category:       docs
>Synopsis:       Document -p option to diff(1)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    keramida
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 22 02:40:01 PDT 2002
>Closed-Date:    Sun Aug 25 17:14:40 PDT 2002
>Last-Modified:  Sun Aug 25 17:14:40 PDT 2002
>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:

From: Giorgos Keramidas <keramida@FreeBSD.org>
To: Anton Berezin <tobez@FreeBSD.org>
Cc: bug-followup@FreeBSD.org
Subject: Re: docs/41887: Document -p option to diff(1)
Date: Thu, 22 Aug 2002 17:24:44 +0300

 On 2002-08-22 11:34 +0000, Anton Berezin <tobez@FreeBSD.ORG> wrote:
 > We support diff -p, which is the same as diff --show-c-function, but
 > it is not documented.
 
 Nice catch.  Will you commit it yourself?
 
State-Changed-From-To: open->closed 
State-Changed-By: keramida 
State-Changed-When: Sun Aug 25 17:13:10 PDT 2002 
State-Changed-Why:  
Committed in revision 1.8 of src/gnu/usr.bin/diff/diff.1,v 
Thanks. 


Responsible-Changed-From-To: freebsd-doc->keramida 
Responsible-Changed-By: keramida 
Responsible-Changed-When: Sun Aug 25 17:13:10 PDT 2002 
Responsible-Changed-Why:  

http://www.freebsd.org/cgi/query-pr.cgi?pr=41887 
>Unformatted:
