From wiwi@progon.net  Thu Aug 21 06:44:08 2003
Return-Path: <wiwi@progon.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id E8B7216A4BF
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 21 Aug 2003 06:44:08 -0700 (PDT)
Received: from mta.progon.net (mta.progon.net [62.65.155.66])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 7776943FB1
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 21 Aug 2003 06:44:07 -0700 (PDT)
	(envelope-from wiwi@progon.net)
Received: from beowulf (localhost [127.0.0.1])
	by mta.progon.net (8.12.9/8.12.0.Beta12) with SMTP id h7LDgKld024872
	for FreeBSD-gnats-submit@freebsd.org; Thu, 21 Aug 2003 13:42:43 GMT
Message-Id: <200308211342.h7LDgKld024872@mta.progon.net>
Date: Thu, 21 Aug 2003 13:42:20 GMT
From: Christian Wittenhorst <wiwi@progon.net>
Reply-To: Christian Wittenhorst <wiwi@progon.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: nice: man pages incorrect (4.8,5.0&5.1)
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         55837
>Category:       docs
>Synopsis:       nice: man pages incorrect (4.8,5.0&5.1)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 21 06:50:20 PDT 2003
>Closed-Date:    Wed Sep 03 14:32:20 PDT 2003
>Last-Modified:  Wed Sep 03 14:32:20 PDT 2003
>Originator:     wiwi
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
progon network engineering
>Environment:
System: FreeBSD sauron.kanti-zug.ch 4.8-STABLE FreeBSD 4.8-STABLE #2: Wed Jun 18 17:03:18 CEST 2003 wiwi@sauron.kanti-zug.ch:/usr/sr
c/sys/compile/sauron i386


        <machine, os, target, libraries (multiple lines)>
>Description:
        Man pages for nice(1) incorrect/outdated.

        SYNOPSIS
                nice [-n increment] utility [argument ...]

        ...

                EXAMPLES
                        Execute utility `date' at priority 5 assuming the priority of the shell
                        is 0:        

                        nice -n 5 date

        nice(1) only accepts nice +n ... (to increase niceness) or nice -n (to decrease). The samples provides do not work

>How-To-Repeat:
        yellow:/home/sysadm/wiwi%  nice -n 5 date
        nice: Badly formed number.
>Fix:
>Release-Note:
>Audit-Trail:

From: "Simon L. Nielsen" <simon@FreeBSD.org>
To: Christian Wittenhorst <wiwi@progon.net>
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: docs/55837: nice: man pages incorrect (4.8,5.0&5.1)
Date: Thu, 21 Aug 2003 15:57:39 +0200

 --OXfL5xGRrasGEqWY
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On 2003.08.21 13:42:20 +0000, Christian Wittenhorst wrote:
 >=20
 > >Number:         55837
 > >Category:       docs
 > >Synopsis:       nice: man pages incorrect (4.8,5.0&5.1)
 > >How-To-Repeat:
 >         yellow:/home/sysadm/wiwi%  nice -n 5 date
 >         nice: Badly formed number.
 
 Which shell are you using?  Most shells have their own version of nice
 with different syntax than nice(1). e.g. :
 
 [simon@arthur:~] nice -n 10 echo Hello
 nice: Badly formed number.
 [simon@arthur:~] /usr/bin/nice -n 10 echo Hello
 Hello
 [simon@arthur:~] nice +10 echo Hello
 Hello
 
 =46rom nice(1) :
 
      Some shells may provide a builtin nice command which is similar or ide=
 n-
      tical to this utility.  Consult the builtin(1) manual page.
 
 It think this is what you are seeing.
 
 --=20
 Simon L. Nielsen
 FreeBSD Documentation Team
 
 --OXfL5xGRrasGEqWY
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.2 (FreeBSD)
 
 iD8DBQE/RM/Rh9pcDSc1mlERAkjaAJwJqFUfK1Yy6O5vEnaUV8tYTeEfvACgxGyR
 7WAYquqJWpD90Ve14Ut74Wo=
 =1EMi
 -----END PGP SIGNATURE-----
 
 --OXfL5xGRrasGEqWY--
State-Changed-From-To: open->feedback 
State-Changed-By: brueffer 
State-Changed-When: Sun Aug 31 00:47:46 CEST 2003 
State-Changed-Why:  
Waiting for feedback from the submitter 

http://www.freebsd.org/cgi/query-pr.cgi?pr=55837 

From: Christian Wittenhorst <wiwi@progon.net>
To: "Simon L. Nielsen" <simon@FreeBSD.org>
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: docs/55837: nice: man pages incorrect (4.8,5.0&5.1)
Date: Sun, 31 Aug 2003 12:15:17 +0200

 --On Thursday, August 21, 2003 15:57 +0200 "Simon L. Nielsen" 
 <simon@FreeBSD.org> wrote:
 
 > On 2003.08.21 13:42:20 +0000, Christian Wittenhorst wrote:
 >>
 >> > Number:         55837
 >> > Category:       docs
 >> > Synopsis:       nice: man pages incorrect (4.8,5.0&5.1)
 >> > How-To-Repeat:
 >>         yellow:/home/sysadm/wiwi%  nice -n 5 date
 >>         nice: Badly formed number.
 >
 > Which shell are you using?  Most shells have their own version of nice
 > with different syntax than nice(1). e.g. :
 
 Of course you are right. What a stupid mistake. I thought to use sh but 
 actually used bash in fact. Sorry for the troubles!
 
 Best regards,
 
 	wiwi
 
 -- 
 c. wittenhorst, progon network engineering
 haldenstrasse 6, ch-6300 zug, switzerland
 phone: +41 79 4603040, fax: +41 41 7807318
 
 
State-Changed-From-To: feedback->closed 
State-Changed-By: simon 
State-Changed-When: Wed Sep 3 14:30:46 PDT 2003 
State-Changed-Why:  
The submitter has confirmed that the problem was the built-in nice 
commands from the shell, so close the PR. 

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