From owner-freebsd-doc Thu Apr 4 0:50: 8 2002 Delivered-To: freebsd-doc@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 825E337B405 for ; Thu, 4 Apr 2002 00:50:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g348o3857888; Thu, 4 Apr 2002 00:50:03 -0800 (PST) (envelope-from gnats) Date: Thu, 4 Apr 2002 00:50:03 -0800 (PST) Message-Id: <200204040850.g348o3857888@freefall.freebsd.org> To: freebsd-doc@FreeBSD.org Cc: From: Peter Pentchev Subject: Re: docs/36737: Man page/implementation inconsitency of diff -U Reply-To: Peter Pentchev 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 The following reply was made to PR docs/36737; it has been noted by GNATS. From: Peter Pentchev To: Niels Jansen Cc: bug-followup@FreeBSD.org Subject: Re: docs/36737: Man page/implementation inconsitency of diff -U Date: Thu, 4 Apr 2002 11:49:22 +0300 On Thu, Apr 04, 2002 at 12:22:03AM -0800, Niels Jansen wrote: > > >Number: 36737 > >Category: docs > >Synopsis: Man page/implementation inconsitency of diff -U > >Originator: Niels Jansen > >Description: > Man page states that diff -U defaults to a context of 3 lines when a number of lines is not given. Not giving a number of lines however results in the following error: > diff: invalid context length argument > > I know diff is contrib software, but i thought i'd send it in anyway. > >How-To-Repeat: > diff -U Well.. try reading the manual page again :) The '-U' option *always* takes an argument; it's the '-u' (lowercase) option that uses three lines by default. It would seem the documentation is correct in this case :) G'luck, Peter -- Peter Pentchev roam@ringlet.net roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 .siht ekil ti gnidaer eb d'uoy ,werbeH ni erew ecnetnes siht fI To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message