xref: /original-bsd/usr.bin/true/true.1 (revision a1c2194a)
1.\" Copyright (c) 1983, 1985, 1990 The Regents of the University of California.
2.\" All rights reserved.
3.\"
4.\" This code is derived from software contributed to Berkeley by
5.\" the Institute of Electrical and Electronics Engineers, Inc.
6.\"
7.\" %sccs.include.redist.man%
8.\"
9.\"     @(#)true.1	6.4 (Berkeley) 06/27/91
10.\"
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
24(or failing to run) a list of commands.
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.
37