Hi,
This is 4.9-STABLE on Intel PC.
The nice man-pages say:
---------------------------
EXAMPLES
      $ nice -n 5 date
      Execute utility `date' at priority 5 assuming the
      priority of the shell is 0.
---------------------------
But when I do:
$ nice -n 5 date
nice: Badly formed number.
$
Something is wrong here, isn't it?
Regards,
Rob.
The problems is that you are using the nice builtin from the c-shell.
 From the csh(1) man page...
      nice [ +n|-n ] [ command ]
                Increment the process priority value for the shell
                or  for  command  by  n.   The higher the priority
Phil.
> This is 4.9-STABLE on Intel PC.
> 
> The nice man-pages say:
> 
> ---------------------------
> EXAMPLES
>      $ nice -n 5 date
> 
>      Execute utility `date' at priority 5 assuming the
>      priority of the shell is 0.
> ---------------------------
> 
> 
> But when I do:
> 
> $ nice -n 5 date
> nice: Badly formed number.
> $
> 
> 
> Something is wrong here, isn't it?
> 
> Regards,
> Rob.
> 
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to
"freebsd-stable-unsubscribe@freebsd.org"
-- 
    _-_|\   Phil Kernick                      E-Mail: Phil@Kernick.org
   /     \  ROTFL Enterprises                 Mobile:  041 61 ROTFL
   \_.-*_/
        v   Humourist, satirist, and probably a few more 'ists to boot!
On Fri, 26 Dec 2003 17:19, Rob wrote:> Hi, > > This is 4.9-STABLE on Intel PC. > > The nice man-pages say: > > --------------------------- > EXAMPLES > $ nice -n 5 date > > Execute utility `date' at priority 5 assuming the > priority of the shell is 0. > --------------------------- > > > But when I do: > > $ nice -n 5 date > nice: Badly formed number. > $ > > > Something is wrong here, isn't it? >I don't think so; try: beta:205> /usr/bin/nice -n 5 date Fri Dec 26 23:17:40 CST 2003 The man page does warn that same shells provide a builtin which may be similar or identical. (But may also be different in syntax; my added comment) Malcolm Kay