summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bin/echo/echo.112
-rw-r--r--bin/kill/kill.115
-rw-r--r--bin/pwd/pwd.116
-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
9 files changed, 93 insertions, 51 deletions
diff --git a/bin/echo/echo.1 b/bin/echo/echo.1
index 1636b7d90e75..0f43f9955377 100644
--- a/bin/echo/echo.1
+++ b/bin/echo/echo.1
@@ -59,12 +59,22 @@ Do not print the trailing newline character. This may also be
achieved by appending `\ec' to the end of the string, as is done
by iBCS2 compatible systems.
.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 DIAGNOSTICS
The
.Nm
utility exits 0 on success, and >0 if an error occurs.
.Sh SEE ALSO
-.Xr printf 1
+.Xr builtin 1 ,
+.Xr csh 1 ,
+.Xr printf 1 ,
+.Xr sh 1
.Sh STANDARDS
The
.Nm
diff --git a/bin/kill/kill.1 b/bin/kill/kill.1
index 3264f31085cf..1a6d0f734f3c 100644
--- a/bin/kill/kill.1
+++ b/bin/kill/kill.1
@@ -110,17 +110,14 @@ ALRM (alarm clock)
TERM (software termination signal)
.El
.Pp
-.Nm Kill
-is a built-in to
-.Xr csh 1 ;
-it allows job specifiers of the form ``%...'' as arguments
-so process id's are not as often used as
+Some shells may provide a builtin
.Nm
-arguments.
-See
-.Xr csh 1
-for details.
+command which is similar or identical to this utility.
+Consult the
+.Xr builtin 1
+manual page.
.Sh SEE ALSO
+.Xr builtin 1 ,
.Xr csh 1 ,
.Xr killall 1 ,
.Xr ps 1 ,
diff --git a/bin/pwd/pwd.1 b/bin/pwd/pwd.1
index 27150e66ca6f..455f791be0a7 100644
--- a/bin/pwd/pwd.1
+++ b/bin/pwd/pwd.1
@@ -47,6 +47,13 @@
.Nm Pwd
writes the absolute pathname of the current working directory to
the standard output.
+.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 DIAGNOSTICS
The
.Nm
@@ -58,14 +65,17 @@ utility is expected to be
.St -p1003.2
compatible.
.Sh SEE ALSO
+.Xr builtin 1 ,
.Xr cd 1 ,
.Xr csh 1 ,
-.Xr getcwd 3
+.Xr getcwd 3 ,
+.Xr sh 1
.Sh BUGS
In
.Xr csh 1
the command
.Ic dirs
-is always faster (although it can give a different answer in the rare case
+is always faster because it is built into that shell.
+However, it can give a different answer in the rare case
that the current directory or a containing directory was moved after
-the shell descended into it).
+the shell descended into it.
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 ,