SCCS-vsn: bin/rmail/rmail.8 6.9
SCCS-vsn: bin/echo/echo.1 6.8
SCCS-vsn: bin/mv/mv.1 6.9
SCCS-vsn: bin/hostname/hostname.1 6.8
SCCS-vsn: bin/sleep/sleep.1 6.6
.\" This code is derived from software contributed to Berkeley by
.\" the Institute of Electrical and Electronics Engineers, Inc.
.\"
.\" This code is derived from software contributed to Berkeley by
.\" the Institute of Electrical and Electronics Engineers, Inc.
.\"
-.\" %sccs.include.redist.man%
+.\" %sccs.include.redist.roff%
+.\"
+.\" @(#)echo.1 6.8 (Berkeley) %G%
-.\" @(#)echo.1 6.7 (Berkeley) %G%
-.Vx
.Sh SYNOPSIS
.Nm echo
.Op Fl n
.Sh SYNOPSIS
.Nm echo
.Op Fl n
-.Nm
-utility writes any specified operands (separated by single blank (`` '')
-characters), followed by a newline (``\en'') character, to the standard
+.Nm echo
+utility writes any specified operands, separated by single blank (`` '')
+characters) and followed by a newline (``\en'') character, to the standard
output.
.Pp
The following option is available:
output.
.Pp
The following option is available:
+.Bl -tag -width flag
+.It Fl n
Do not print the trailing newline character.
Do not print the trailing newline character.
utility exits 0 on success, and >0 if an error occurs.
.Sh SEE ALSO
.Xr printf 1
.Sh STANDARDS
The
.Nm echo
utility exits 0 on success, and >0 if an error occurs.
.Sh SEE ALSO
.Xr printf 1
.Sh STANDARDS
The
.Nm echo
-function is expected to be POSIX 1003.2 compatible.
+utility is expected to be
+.St -p1003.2
+compatible.
.\" Copyright (c) 1983, 1988, 1990 The Regents of the University of California.
.\" All rights reserved.
.\"
.\" Copyright (c) 1983, 1988, 1990 The Regents of the University of California.
.\" All rights reserved.
.\"
-.\" %sccs.include.redist.man%
+.\" %sccs.include.redist.roff%
-.\" @(#)hostname.1 6.7 (Berkeley) %G%
+.\" @(#)hostname.1 6.8 (Berkeley) %G%
.Dd
.Dt HOSTNAME 1
.Os BSD 4.2
.Dd
.Dt HOSTNAME 1
.Os BSD 4.2
+.Bl -tag -width flag
+.It Fl s
Trims off any domain information from the printed
name.
Trims off any domain information from the printed
name.
.Sh SEE ALSO
.Xr gethostname 2
.Sh HISTORY
.Sh SEE ALSO
.Xr gethostname 2
.Sh HISTORY
-.Nm Hostname
-appeared in 4.2 BSD.
+The
+.Nm hostname
+command appeared in
+.Bx 4.2 .
.\" This code is derived from software contributed to Berkeley by
.\" the Institute of Electrical and Electronics Engineers, Inc.
.\"
.\" This code is derived from software contributed to Berkeley by
.\" the Institute of Electrical and Electronics Engineers, Inc.
.\"
-.\" %sccs.include.redist.man%
+.\" %sccs.include.redist.roff%
-.\" @(#)mv.1 6.8 (Berkeley) %G%
+.\" @(#)mv.1 6.9 (Berkeley) %G%
.Nd move files
.Sh SYNOPSIS
.Nm mv
.Nd move files
.Sh SYNOPSIS
.Nm mv
.Ar source ... source directory
.Ar source ... source directory
.Sh DESCRIPTION
.Pp
In its first form, the
.Sh DESCRIPTION
.Pp
In its first form, the
component of the named file.
.Pp
The following options are available:
component of the named file.
.Pp
The following options are available:
+.Bl -tag -width flag
+.It Fl f
Do not prompt for confirmation before overwriting the destination
path.
(The
Do not prompt for confirmation before overwriting the destination
path.
(The
option is ignored if the
.Fl f
option is specified.)
option is ignored if the
.Fl f
option is specified.)
Causes
.Nm mv
to write a prompt to standard error before moving a file that would
overwrite an existing file.
If the response from the standard input begins with the character ``y'',
the move is attempted.
Causes
.Nm mv
to write a prompt to standard error before moving a file that would
overwrite an existing file.
If the response from the standard input begins with the character ``y'',
the move is attempted.
.Pp
It is an error for either the
.Ar source
.Pp
It is an error for either the
.Ar source
.Xr rm 1
to accomplish the move.
The effect is equivalent to:
.Xr rm 1
to accomplish the move.
The effect is equivalent to:
+.Bd -literal -offset indent
rm -f destination_path && \e
\tcp -pr source_file destination && \e
\trm -rf source_file
rm -f destination_path && \e
\tcp -pr source_file destination && \e
\trm -rf source_file
-function is expected to be POSIX 1003.2 compatible.
+utility is expected to be
+.St -p1003.2
+compatible.
.\" Copyright (c) 1983, 1990 The Regents of the University of California.
.\" All rights reserved.
.\"
.\" Copyright (c) 1983, 1990 The Regents of the University of California.
.\" All rights reserved.
.\"
-.\" %sccs.include.redist.man%
+.\" %sccs.include.redist.roff%
-.\" @(#)rmail.8 6.8 (Berkeley) %G%
+.\" @(#)rmail.8 6.9 (Berkeley) %G%
.Dd
.Dt RMAIL 8
.Os BSD 4.2
.Dd
.Dt RMAIL 8
.Os BSD 4.2
.Xr uucp 1 ,
.Xr sendmail 8
.Sh HISTORY
.Xr uucp 1 ,
.Xr sendmail 8
.Sh HISTORY
-.Nm Rmail
-apeared in 4.2 BSD.
+The
+.Nm rmail
+program appeared in
+.Bx 4.2 .
-should not reside in /bin.
+should not reside in
+.Pa /bin .
.\" This code is derived from software contributed to Berkeley by
.\" the Institute of Electrical and Electronics Engineers, Inc.
.\"
.\" This code is derived from software contributed to Berkeley by
.\" the Institute of Electrical and Electronics Engineers, Inc.
.\"
-.\" %sccs.include.redist.man%
+.\" %sccs.include.redist.roff%
-.\" @(#)sleep.1 6.5 (Berkeley) %G%
+.\" @(#)sleep.1 6.6 (Berkeley) %G%
.Ar seconds .
.Nm Sleep
is used to schedule the execution of other commands (see
.Ar seconds .
.Nm Sleep
is used to schedule the execution of other commands (see
.Pp
The
.Nm Sleep
utility exits with one of the following values:
.Pp
The
.Nm Sleep
utility exits with one of the following values:
-.Tw Ds
-.Tp Li \&0
-On successful completetion, or if the signal SIGALRM was received.
-.Tp Li \&>\&0
+.Bl -tag -width flag
+.It Li \&0
+On successful completetion, or if the signal
+.Dv SIGALRM
+was received.
+.It Li \&>\&0
.Sh EXAMPLES
To schedule the execution of a command for
.Va x
.Sh EXAMPLES
To schedule the execution of a command for
.Va x
To reiteratively run a command (with the
.Xr csh 1 ) :
.Pp
To reiteratively run a command (with the
.Xr csh 1 ) :
.Pp
+.Bd -literal -offset indent -compact
while (1)
if (! -r zzz.rawdata) then
sleep 300
while (1)
if (! -r zzz.rawdata) then
sleep 300
.Pp
The scenario for a script such as this might be: a program currently
running is taking longer than expected to process a series of
.Pp
The scenario for a script such as this might be: a program currently
running is taking longer than expected to process a series of
.Xr sleep 3 ,
.Xr at 1
.Sh STANDARDS
.Xr sleep 3 ,
.Xr at 1
.Sh STANDARDS
-The sleep function is expected to be POSIX 1003.2 compatible.
+The
+.Nm sleep
+command is expected to be
+.St -p1003.2
+compatible.