summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorSheldon Hearn <sheldonh@FreeBSD.org>2000-01-14 11:15:33 +0000
committerSheldon Hearn <sheldonh@FreeBSD.org>2000-01-14 11:15:33 +0000
commit6e0fa6c550fc045d4bf4885bb584da06d60dc33c (patch)
tree5b280f61738724064f6d7938e5b660a088c727aa /usr.bin
parenta6816107b8e2018c482109bb27e9c190a0669827 (diff)
Notes
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/login/login.113
-rw-r--r--usr.bin/nice/nice.130
-rw-r--r--usr.bin/nohup/nohup.113
-rw-r--r--usr.bin/printf/printf.113
-rw-r--r--usr.bin/time/time.122
-rw-r--r--usr.bin/which/which.110
6 files changed, 63 insertions, 38 deletions
diff --git a/usr.bin/login/login.1 b/usr.bin/login/login.1
index 2ee22ef7f0db..492b9832da9c 100644
--- a/usr.bin/login/login.1
+++ b/usr.bin/login/login.1
@@ -143,13 +143,12 @@ The login class also controls the maximum and current process resource
limits granted to a login, process priorities and many other aspects of
a user's login environment.
.Pp
-The standard shells,
-.Xr csh 1
-and
-.Xr sh 1 ,
-do not fork before executing the
+Some shells may provide a builtin
.Nm
-utility.
+command which is similar or identical to this utility.
+Consult the
+.Xr builtin 1
+manual page.
.Sh FILES
.Bl -tag -width /var/mail/userXXX -compact
.It Pa /etc/fbtab
@@ -180,7 +179,9 @@ makes login quieter
configure authentication services
.El
.Sh SEE ALSO
+.Xr builtin 1 ,
.Xr chpass 1 ,
+.Xr csh 1 ,
.Xr passwd 1 ,
.Xr rlogin 1 ,
.Xr skey 1 ,
diff --git a/usr.bin/nice/nice.1 b/usr.bin/nice/nice.1
index 2531a9ca4aaf..9bebdc15cf79 100644
--- a/usr.bin/nice/nice.1
+++ b/usr.bin/nice/nice.1
@@ -54,8 +54,8 @@ If
is not given
.Nm
assumed the value 10.
-The priority is a value in the range -20 to 20. The default priority
-is 0, priority 20 is the lowest possible.
+The priority is a value in the range -20 to 20.
+The default priority is 0, priority 20 is the lowest possible.
.Nm Nice
will execute
.Ar command
@@ -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.
diff --git a/usr.bin/nohup/nohup.1 b/usr.bin/nohup/nohup.1
index 35b99f6cceb7..d881d7a379bf 100644
--- a/usr.bin/nohup/nohup.1
+++ b/usr.bin/nohup/nohup.1
@@ -33,6 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)nohup.1 8.1 (Berkeley) 6/6/93
+.\" $FreeBSD$
.\"
.Dd June 6, 1993
.Dt NOHUP 1
@@ -53,7 +54,8 @@ with
its arguments
and at this time sets the signal
.Dv SIGHUP
-to be ignored. The signal
+to be ignored.
+The signal
.Dv SIGQUIT
may also be set
to be ignored.
@@ -67,6 +69,13 @@ as the standard output.
.Nm Nohup
exits 1 if an error occurs, otherwise the exit status is that of
.Ar command .
+.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 ENVIRONMENT
The following variable is utilized by
.Nm nohup .
@@ -81,6 +90,8 @@ utility uses the directory named by
to create the file.
.El
.Sh SEE ALSO
+.Xr builtin 1 ,
+.Xr csh 1 ,
.Xr signal 3
.Sh STANDARDS
The
diff --git a/usr.bin/printf/printf.1 b/usr.bin/printf/printf.1
index 0094d9352d1a..486174332f20 100644
--- a/usr.bin/printf/printf.1
+++ b/usr.bin/printf/printf.1
@@ -33,6 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)printf.1 8.1 (Berkeley) 6/6/93
+.\" $FreeBSD$
.\"
.Dd June 6, 1993
.Dt PRINTF 1
@@ -249,11 +250,21 @@ Print a `%'; no argument is used.
In no case does a non-existent or small field width cause truncation of
a field; padding takes place only if the specified field width exceeds
the actual width.
+.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 RETURN VALUES
.Nm Printf
exits 0 on success, 1 on failure.
.Sh SEE ALSO
-.Xr printf 3
+.Xr builtin 1 ,
+.Xr csh 1 ,
+.Xr printf 3 ,
+.Xr sh 1
.Sh HISTORY
The
.Nm
diff --git a/usr.bin/time/time.1 b/usr.bin/time/time.1
index 0d5161384e46..8dbed2e9af7b 100644
--- a/usr.bin/time/time.1
+++ b/usr.bin/time/time.1
@@ -30,6 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)time.1 8.1 (Berkeley) 6/6/93
+.\" $FreeBSD$
.\"
.Dd June 6, 1993
.Dt TIME 1
@@ -70,7 +71,8 @@ Available options:
If the
.Fl o
flag is used, append to the specified file rather than overwriting
-it. Otherwise, this option has no effect.
+it.
+Otherwise, this option has no effect.
.It Fl l
The contents of the
.Em rusage
@@ -89,18 +91,17 @@ Makes
output POSIX.2 compliant (each time is printed on its own line).
.El
.Pp
-Most shells (including
-.Xr csh 1 )
-have their own and syntactically different builtin version of
-.Nm time .
-The command described here
-is available as
-.Pa /usr/bin/time
-to users of those shells.
+Some shells may provide a builtin
+.Nm
+command which is similar or identical to this utility.
+Consult the
+.Xr builtin 1
+manual page.
.Sh DIAGNOSTICS
If
.Ar command
-could be timed successfully, its exit status is returned. In case
+could be timed successfully, its exit status is returned.
+If
.Ar command
terminated abnormally, a warning message is output to stderr.
If the
@@ -114,6 +115,7 @@ If
encounters any other error, the exit status is between 1 and 125
included.
.Sh SEE ALSO
+.Xr builtin 1 ,
.Xr csh 1 ,
.Xr getrusage 2 ,
.Xr wait 2
diff --git a/usr.bin/which/which.1 b/usr.bin/which/which.1
index e9ae9d32ae70..a8048ac85179 100644
--- a/usr.bin/which/which.1
+++ b/usr.bin/which/which.1
@@ -52,12 +52,22 @@ of each).
.It Fl s
No output, just return 0 if any of the executables are found, or 1 if
none are found.
+.El
+.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 HISTORY
The
.Nm
command first appeared in
.Fx 2.1 .
.Sh SEE ALSO
+.Xr builtin 1 ,
+.Xr csh 1 ,
.Xr find 1 ,
.Xr locate 1 ,
.Xr perl 1 ,