summaryrefslogtreecommitdiff
path: root/usr.bin/nice
diff options
context:
space:
mode:
authorSheldon Hearn <sheldonh@FreeBSD.org>1999-09-08 15:40:46 +0000
committerSheldon Hearn <sheldonh@FreeBSD.org>1999-09-08 15:40:46 +0000
commitc644db6aa2307baa08e3b3e7143b20cf12d7aaa1 (patch)
tree450c1984c59205f991b47c9161042ddd5e9ae260 /usr.bin/nice
parent518dee7dbbc81ff945a452d9710e98c4e2d600e4 (diff)
downloadsrc-test-c644db6aa2307baa08e3b3e7143b20cf12d7aaa1.tar.gz
src-test-c644db6aa2307baa08e3b3e7143b20cf12d7aaa1.zip
Improve shell documentation:
* Consistently misspell built-in as builtin. * Add a builtin(1) manpage and create builtin(1) MLINKS for all shell builtin commands for which no standalone utility exists. These MLINKS replace those that were created for csh(1). * Add appropriate xrefs for builtin(1) to the csh(1) and sh(1) manpages, as well as to the manpages of standalone utilities which are supported as shell builtin commands in at least one of the shells. In such manpages, explain that similar functionality may be provided as a shell builtin command. * Improve sh(1)'s description of the cd builtin command. Csh(1) already describes it adequately. Replace the cd(1) manpage with a builtin(1) MLINKS link. * Clean up some mdoc problems: use Xr instead of literal "foo(n)"; use Ic instead of Xr for shell builtin commands. * Undo English contractions. Reviewed by: mpp, rgrimes
Notes
Notes: svn path=/head/; revision=51090
Diffstat (limited to 'usr.bin/nice')
-rw-r--r--usr.bin/nice/nice.126
1 files changed, 8 insertions, 18 deletions
diff --git a/usr.bin/nice/nice.1 b/usr.bin/nice/nice.1
index 2531a9ca4aaf0..b017179d0f54a 100644
--- a/usr.bin/nice/nice.1
+++ b/usr.bin/nice/nice.1
@@ -73,6 +73,13 @@ Negative numbers are expressed as
The returned exit status is the exit value from the
command executed by
.Nm nice .
+.Pp
+Some shells may provide a builtin
+.Nm
+command which is similar or identical to this utility. Consult
+the
+.Xr builtin 1
+manual page.
.Sh EXAMPLES
.Pp
$ nice -5 date
@@ -89,6 +96,7 @@ Execute command
at priority -19 assuming the priority of the
shell is 0 and you are the super-user.
.Sh SEE ALSO
+.Xr builtin 1 ,
.Xr csh 1 ,
.Xr idprio 1 ,
.Xr rtprio 1 ,
@@ -100,21 +108,3 @@ A
.Nm
command appeared in
.At v6 .
-.Sh BUGS
-.Nm Nice
-is particular to
-.Xr sh 1 .
-If you use
-.Xr csh 1 ,
-then commands executed with ``&'' are automatically immune to hangup
-signals while in the background.
-.Pp
-.Nm Nice
-is built into
-.Xr csh 1
-with a slightly different syntax than described here. The form
-.Ql nice +10
-nices to positive nice, and
-.Ql nice \-10
-can be used
-by the super-user to give a process more of the processor.