Date: Thu, 4 Apr 2002 00:50:03 -0800 (PST) From: Peter Pentchev <roam@ringlet.net> To: freebsd-doc@FreeBSD.org Subject: Re: docs/36737: Man page/implementation inconsitency of diff -U Message-ID: <200204040850.g348o3857888@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR docs/36737; it has been noted by GNATS. From: Peter Pentchev <roam@ringlet.net> To: Niels Jansen <nhjansen@xs4all.nl> 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 <fromfile> <tofile> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204040850.g348o3857888>