4.4BSD snapshot (revision 8.1); add 1993 to copyright
[unix-history] / usr / src / usr.bin / true / true.1
CommitLineData
22fbd3aa 1.\" Copyright (c) 1983, 1985, 1990 The Regents of the University of California.
94bed826
KB
2.\" All rights reserved.
3.\"
ae122740
KB
4.\" This code is derived from software contributed to Berkeley by
5.\" the Institute of Electrical and Electronics Engineers, Inc.
6.\"
22fbd3aa 7.\" %sccs.include.redist.man%
94bed826 8.\"
ae122740 9.\" @(#)true.1 6.4 (Berkeley) %G%
6d52893f 10.\"
22fbd3aa
CL
11.Dd
12.Dt TRUE 1
13.Os
14.Sh NAME
15.Nm true
16.Nd return true value
17.Sh SYNOPSIS
18.Nm true
19.Sh DESCRIPTION
20.Nm True
21is normally used in a Bourne shell script.
22.Nm True
23tests for the appropriate status "false" before running
3789e5f1 24(or failing to run) a list of commands.
22fbd3aa
CL
25.Sh SEE ALSO
26.Xr csh 1 ,
27.Xr sh 1 ,
28.Xr false 1
29.Sh DIAGNOSTICS
30The
31.Nm true
32utility always returns with exit code zero.
33.Sh STANDARDS
34The
35.Nm true
36function is expected to be POSIX 1003.2 compatible.