Re: tcsh "nice" problem?

From: John Nielsen <lists_at_jnielsen.net>
Date: Sat, 30 Jun 2007 22:19:37 -0400
On Saturday 30 June 2007, Ivan Voras wrote:
> Can someone confirm if the "nice" built-in command in tcsh works with
> "-n #" style arguments?
>
> On two separate -CURRENT machines I have this:
> > nice -n 5 date
>
> nice: Badly formed number
>
> but,
>
> > /usr/bin/nice -n 5 date
>
> works.

csh's nice just takes +X or -X arguments directly (without -n), e.g.:
	nice -20 ./some-important-script.sh
or
	nice +20 ./background-process.sh

This is documented in the [t]csh manpage (at about byte 141580 according to 
more on my machine).

JN
Received on Sun Jul 01 2007 - 00:18:12 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:13 UTC