From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Aug 10 17:20:03 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 326A31065675 for ; Sun, 10 Aug 2008 17:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 29A3E8FC19 for ; Sun, 10 Aug 2008 17:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m7AHK2Gs015989 for ; Sun, 10 Aug 2008 17:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m7AHK2dk015988; Sun, 10 Aug 2008 17:20:02 GMT (envelope-from gnats) Date: Sun, 10 Aug 2008 17:20:02 GMT Message-Id: <200808101720.m7AHK2dk015988@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: =?ISO-8859-1?Q?Beat_G=E4tzi?= Cc: Subject: Re: ports/126087: wrong man page in sysutils/cmdwatch X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?ISO-8859-1?Q?Beat_G=E4tzi?= List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Aug 2008 17:20:03 -0000 The following reply was made to PR ports/126087; it has been noted by GNATS. From: =?ISO-8859-1?Q?Beat_G=E4tzi?= To: bug-followup@FreeBSD.org, dgutaev@mail.ru Cc: Subject: Re: ports/126087: wrong man page in sysutils/cmdwatch Date: Sun, 10 Aug 2008 18:35:49 +0200 This is a multi-part message in MIME format. --------------000104030005010404040002 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Please try the attached patch. It should fix this man page issue. Regards, Beat --------------000104030005010404040002 Content-Type: text/plain; name="cmdwatch.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="cmdwatch.patch" diff -Naur cmdwatch.orig/files/patch-cmdwatch.1 cmdwatch/files/patch-cmdwatch.1 --- cmdwatch.orig/files/patch-cmdwatch.1 1970-01-01 01:00:00.000000000 +0100 +++ cmdwatch/files/patch-cmdwatch.1 2008-08-10 18:32:38.000000000 +0200 @@ -0,0 +1,81 @@ +--- cmdwatch.1.orig 2000-11-07 14:59:25.000000000 +0100 ++++ cmdwatch.1 2008-08-10 18:32:33.000000000 +0200 +@@ -1,11 +1,11 @@ +-.TH WATCH 1 "1999 Apr 3" " " "Linux User's Manual" ++.TH CMDWATCH 1 "1999 Apr 3" " " " " + .SH NAME +-watch \- execute a program periodically, showing output fullscreen ++cmdwatch \- execute a program periodically, showing output fullscreen + .SH SYNOPSIS +-.B watch ++.B cmdwatch + .I [\-dhv] [\-n ] [\-\-differences[=cumulative]] [\-\-help] [\-\-interval=] [\-\-version] + .SH DESCRIPTION +-.BR watch ++.BR cmdwatch + runs + .I command + repeatedly, displaying its output (the first screenfull). This allows you to +@@ -17,11 +17,11 @@ + The + .I -d or --differences + flag will highlight the differences between successive updates. The +-.I --cumulative ++.I --differences=cumulative + option makes highlighting "sticky", presenting a running display of all + positions that have ever changed. + .PP +-.BR watch ++.BR cmdwatch + will run until interrupted. + .SH NOTE + Note that +@@ -33,33 +33,33 @@ + the first non-option argument). This means that flags after + .I command + don't get interpreted by +-.BR watch ++.BR cmdwatch + itself. + .SH EXAMPLES + .PP + To watch for mail, you might do + .IP +-watch \-n 60 from ++cmdwatch \-n 60 from + .PP + To watch the contents of a directory change, you could use + .IP +-watch \-d ls \-l ++cmdwatch \-d ls \-l + .PP + If you're only interested in files owned by user joe, you might use + .IP +-watch \-d 'ls \-l | fgrep joe' ++cmdwatch \-d 'ls \-l | fgrep joe' + .PP + To see the effects of quoting, try these out + .IP +-watch echo $$ ++cmdwatch echo $$ + .IP +-watch echo '$$' ++cmdwatch echo '$$' + .IP +-watch echo "'"'$$'"'" ++cmdwatch echo "'"'$$'"'" + .PP + You can watch for your administrator to install the latest kernel with + .IP +-watch uname -r ++cmdwatch uname -r + .PP + (Just kidding.) + .SH BUGS +@@ -75,4 +75,5 @@ + .B watch + was written by Tony Rems in 1991, with mods and + corrections by Francois Pinard. It was reworked and new features added by +-Mike Coleman in 1999. ++Mike Coleman in 1999. This man page based on the watch man ++page of the Linux User's Manual. diff -Naur cmdwatch.orig/files/patch-cmdwatch.c cmdwatch/files/patch-cmdwatch.c --- cmdwatch.orig/files/patch-cmdwatch.c 1970-01-01 01:00:00.000000000 +0100 +++ cmdwatch/files/patch-cmdwatch.c 2008-08-10 18:09:58.000000000 +0200 @@ -0,0 +1,11 @@ +--- cmdwatch.c.orig 2008-08-10 18:08:06.000000000 +0200 ++++ cmdwatch.c 2008-08-10 18:09:24.000000000 +0200 +@@ -34,7 +34,7 @@ + { 0, 0, 0, 0 } + }; + +-char usage[] = "Usage: %s [-dhnv] [--differences[=cumulative]] [--help] [--interval=] [--version] \n"; ++char usage[] = "Usage: %s [-dhv] [-n ] [--differences[=cumulative]] [--help] [--interval=] [--version] \n"; + + + static char *progname; --------------000104030005010404040002--