-.\" $OpenBSD: date.1,v 1.51 2010/04/01 06:23:33 jmc Exp $
+.\" $OpenBSD: date.1,v 1.52 2010/07/22 08:09:29 jmc Exp $
.\" $NetBSD: date.1,v 1.12 1996/03/12 04:32:37 phil Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
.\"
.\" @(#)date.1 8.3 (Berkeley) 4/28/95
.\"
-.Dd $Mdocdate: April 1 2010 $
+.Dd $Mdocdate: July 22 2010 $
.Dt DATE 1
.Os
.Sh NAME
.Pp
Time changes for Daylight Saving Time, standard time, leap seconds,
and leap years are handled automatically.
+.Pp
+The
+.Nm
+utility exits 0 on success, 1 if unable to set the date,
+and 2 if able to set the local date, but unable to set it globally.
.Sh ENVIRONMENT
.Bl -tag -width Ds
.It Ev TZ
.Pp
.Dl # date 1432
.Sh DIAGNOSTICS
-Exit status is 0 on success, 1 if unable to set the date, and 2
-if able to set the local date, but unable to set it globally.
-.Pp
Occasionally, when
.Xr timed 8
synchronizes the time on many hosts, the setting of a new time value may
-.\" $OpenBSD: ed.1,v 1.54 2010/01/10 10:53:33 jmc Exp $
+.\" $OpenBSD: ed.1,v 1.55 2010/07/22 08:09:29 jmc Exp $
.\"
.\" Copyright (c) 1993 Andrew Moore, Talke Studio.
.\" All rights reserved.
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: January 10 2010 $
+.Dd $Mdocdate: July 22 2010 $
.Dt ED 1
.Os
.Sh NAME
.Ar file
only if it is not prefixed with a bang.
.El
+.Pp
+.Ex -std ed
.Ss LINE ADDRESSING
An address represents the number of a line in the buffer.
.Nm
-.\" $OpenBSD: expr.1,v 1.18 2009/02/08 17:15:09 jmc Exp $
+.\" $OpenBSD: expr.1,v 1.19 2010/07/22 08:09:29 jmc Exp $
.\" $NetBSD: expr.1,v 1.9 1995/04/28 23:27:13 jtc Exp $
.\"
.\" Written by J.T. Conklin <jtc@netbsd.org>.
.\" Public domain.
.\"
-.Dd $Mdocdate: February 8 2009 $
+.Dd $Mdocdate: July 22 2010 $
.Dt EXPR 1
.Os
.Sh NAME
.El
.Pp
Parentheses are used for grouping in the usual manner.
+.Pp
+The
+.Nm
+utility exits with one of the following values:
+.Pp
+.Bl -tag -width Ds -compact
+.It 0
+The expression is neither an empty string nor 0.
+.It 1
+The expression is an empty string or 0.
+.It 2
+The expression is invalid.
+.It \*(Gt2
+An error occurred (such as memory allocation failure).
+.El
.Sh EXAMPLES
.Li $ a=`expr $a + 1`
.Pp
.Pp
Return the number of characters in variable
.Va a .
-.Sh DIAGNOSTICS
-The
-.Nm
-utility exits with one of the following values:
-.Pp
-.Bl -tag -width Ds -compact
-.It 0
-The expression is neither an empty string nor 0.
-.It 1
-The expression is an empty string or 0.
-.It 2
-The expression is invalid.
-.It >2
-An error occurred (such as memory allocation failure).
-.El
.Sh SEE ALSO
.Xr test 1 ,
.Xr re_format 7
-.\" $OpenBSD: cpio.1,v 1.28 2008/06/11 07:42:50 jmc Exp $
+.\" $OpenBSD: cpio.1,v 1.29 2010/07/22 08:09:29 jmc Exp $
.\"
.\" Copyright (c) 1997 SigmaSoft, Th. Lockert
.\" All rights reserved.
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $OpenBSD: cpio.1,v 1.28 2008/06/11 07:42:50 jmc Exp $
+.\" $OpenBSD: cpio.1,v 1.29 2010/07/22 08:09:29 jmc Exp $
.\"
-.Dd $Mdocdate: June 11 2008 $
+.Dd $Mdocdate: July 22 2010 $
.Dt CPIO 1
.Os
.Sh NAME
List filenames as they are copied.
.El
.El
-.Sh ENVIRONMENT
-.Bl -tag -width Fl
-.It Ev TMPDIR
-Path in which to store temporary files.
-.El
-.Sh ERRORS
+.Pp
+The
.Nm
-will exit with one of the following values:
-.Bl -tag -width 2n
+utility exits with one of the following values:
+.Pp
+.Bl -tag -width Ds -compact
.It 0
All files were processed successfully.
.It 1
An error occurred.
.El
-.Pp
+.Sh ENVIRONMENT
+.Bl -tag -width Fl
+.It Ev TMPDIR
+Path in which to store temporary files.
+.El
+.Sh DIAGNOSTICS
Whenever
.Nm
cannot create a file or a link when extracting an archive or cannot
-.\" $OpenBSD: pax.1,v 1.58 2009/08/16 09:41:08 sobrado Exp $
+.\" $OpenBSD: pax.1,v 1.59 2010/07/22 08:09:29 jmc Exp $
.\" $NetBSD: pax.1,v 1.3 1995/03/21 09:07:37 cgd Exp $
.\"
.\" Copyright (c) 1992 Keith Muller.
.\"
.\" @(#)pax.1 8.4 (Berkeley) 4/18/94
.\"
-.Dd $Mdocdate: August 16 2009 $
+.Dd $Mdocdate: July 22 2010 $
.Dt PAX 1
.Os
.Sh NAME
.Fl n
option, a file is not considered selected unless it is newer
than the file to which it is compared.
+.Pp
+The
+.Nm
+utility exits with one of the following values:
+.Pp
+.Bl -tag -width 2n -offset indent -compact
+.It 0
+All files were processed successfully.
+.It 1
+An error occurred.
+.El
.Sh ENVIRONMENT
.Bl -tag -width Fl
.It Ev TMPDIR
.Pp
.Dl "$ pax -r -w -v -Y -Z home /backup"
.Sh DIAGNOSTICS
-.Nm
-will exit with one of the following values:
-.Bl -tag -width 2n -offset indent
-.It 0
-All files were processed successfully.
-.It 1
-An error occurred.
-.El
-.Pp
Whenever
.Nm
cannot create a file or a link when reading an archive or cannot
-.\" $OpenBSD: tar.1,v 1.51 2008/12/27 13:35:34 sobrado Exp $
+.\" $OpenBSD: tar.1,v 1.52 2010/07/22 08:09:29 jmc Exp $
.\"
.\" Copyright (c) 1996 SigmaSoft, Th. Lockert
.\" All rights reserved.
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $OpenBSD: tar.1,v 1.51 2008/12/27 13:35:34 sobrado Exp $
+.\" $OpenBSD: tar.1,v 1.52 2010/07/22 08:09:29 jmc Exp $
.\"
-.Dd $Mdocdate: December 27 2008 $
+.Dd $Mdocdate: July 22 2010 $
.Dt TAR 1
.Os
.Sh NAME
.Op Fl 014578
can be used to select one of the compiled-in backup devices,
.Pa /dev/rstN .
+.Pp
+The
+.Nm
+utility exits with one of the following values:
+.Pp
+.Bl -tag -width 2n -offset indent -compact
+.It 0
+All files were processed successfully.
+.It 1
+An error occurred.
+.El
.Sh ENVIRONMENT
.Bl -tag -width Fl
.It Ev TMPDIR
For more detailed examples, see
.Xr pax 1 .
.Sh DIAGNOSTICS
-.Nm
-will exit with one of the following values:
-.Bl -tag -width 2n -offset indent
-.It 0
-All files were processed successfully.
-.It 1
-An error occurred.
-.El
-.Pp
Whenever
.Nm
cannot create a file or a link when extracting an archive or cannot
-.\" $OpenBSD: sleep.1,v 1.17 2009/02/08 17:15:09 jmc Exp $
+.\" $OpenBSD: sleep.1,v 1.18 2010/07/22 08:09:29 jmc Exp $
.\" $NetBSD: sleep.1,v 1.9 1995/07/25 19:37:43 jtc Exp $
.\"
.\" Copyright (c) 1990, 1993, 1994
.\"
.\" @(#)sleep.1 8.3 (Berkeley) 4/18/94
.\"
-.Dd $Mdocdate: February 8 2009 $
+.Dd $Mdocdate: July 22 2010 $
.Dt SLEEP 1
.Os
.Sh NAME
sleep 5
done
.Ed
-.Sh DIAGNOSTICS
+.Pp
The
.Nm
utility exits with one of the following values:
.Pp
.Bl -tag -width flag -compact
-.It Li \&0
+.It 0
On successful completion, or if the signal
.Dv SIGALRM
was received.
-.It Li \&>\&0
+.It \*(Gt0
An error occurred.
.El
.Sh SEE ALSO