From owner-freebsd-doc Thu Aug 22 2:40:16 2002 Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 81F7E37B401 for ; Thu, 22 Aug 2002 02:40:02 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id CFA0643E4A for ; Thu, 22 Aug 2002 02:40:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7M9e1JU058145 for ; Thu, 22 Aug 2002 02:40:01 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7M9e1oO058144; Thu, 22 Aug 2002 02:40:01 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C64B437B400 for ; 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 ; 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 ; 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 Reply-To: Anton Berezin To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: docs/41887: Document -p option to diff(1) Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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