tcsh "nice" problem?

John Nielsen lists at jnielsen.net
Sun Jul 1 02:18:12 UTC 2007


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



More information about the freebsd-current mailing list