mirror of
https://github.com/GnoConsortium/gno.git
synced 2024-12-30 04:33:01 +00:00
initial checkin
This commit is contained in:
parent
c91fd8439c
commit
397a3206ab
61
usr.bin/false/false.1
Normal file
61
usr.bin/false/false.1
Normal file
@ -0,0 +1,61 @@
|
||||
.\" Copyright (c) 1983, 1990, 1993
|
||||
.\" The Regents of the University of California. All rights reserved.
|
||||
.\"
|
||||
.\" This code is derived from software contributed to Berkeley by
|
||||
.\" the Institute of Electrical and Electronics Engineers, Inc.
|
||||
.\"
|
||||
.\" Redistribution and use in source and binary forms, with or without
|
||||
.\" modification, are permitted provided that the following conditions
|
||||
.\" are met:
|
||||
.\" 1. Redistributions of source code must retain the above copyright
|
||||
.\" notice, this list of conditions and the following disclaimer.
|
||||
.\" 2. Redistributions in binary form must reproduce the above copyright
|
||||
.\" notice, this list of conditions and the following disclaimer in the
|
||||
.\" documentation and/or other materials provided with the distribution.
|
||||
.\" 3. All advertising materials mentioning features or use of this software
|
||||
.\" must display the following acknowledgement:
|
||||
.\" This product includes software developed by the University of
|
||||
.\" California, Berkeley and its contributors.
|
||||
.\" 4. Neither the name of the University nor the names of its contributors
|
||||
.\" may be used to endorse or promote products derived from this software
|
||||
.\" without specific prior written permission.
|
||||
.\"
|
||||
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\" @(#)false.1 8.1 (Berkeley) 6/6/93
|
||||
.\"
|
||||
.\" $Id: false.1,v 1.1 1997/08/07 05:17:22 gdr Exp $
|
||||
.\"
|
||||
.TH FALSE 1 "6 August 1997" GNO "Commands and Applications"
|
||||
.SH NAME
|
||||
.BR false
|
||||
\- return false value
|
||||
.SH SYNOPSIS
|
||||
.BR false
|
||||
.SH DESCRIPTION
|
||||
.BR False
|
||||
is usually used in a Bourne shell script.
|
||||
It tests for the appropriate status "false" before running
|
||||
(or failing to run) a list of commands.
|
||||
.LP
|
||||
The
|
||||
.BR false
|
||||
utility always exits with a value other than zero.
|
||||
.SH SEE ALSO
|
||||
.BR csh (1),
|
||||
.BR sh (1),
|
||||
.BR true (1)
|
||||
.SH STANDARDS
|
||||
The
|
||||
.BR false
|
||||
utility is expected to be POSIX 1003.2 compatible.
|
12
usr.bin/false/false.c
Normal file
12
usr.bin/false/false.c
Normal file
@ -0,0 +1,12 @@
|
||||
/*
|
||||
* gno/usr.bin/false.c
|
||||
*
|
||||
* Devin Reade, 1997. (Are you impressed, yet?)
|
||||
*
|
||||
* $Id: false.c,v 1.1 1997/08/07 05:17:22 gdr Exp $
|
||||
*/
|
||||
|
||||
int
|
||||
main(int argc, char **argv) {
|
||||
return -1;
|
||||
}
|
62
usr.bin/true/true.1
Normal file
62
usr.bin/true/true.1
Normal file
@ -0,0 +1,62 @@
|
||||
.\" Copyright (c) 1983, 1985, 1990, 1993
|
||||
.\" The Regents of the University of California. All rights reserved.
|
||||
.\"
|
||||
.\" This code is derived from software contributed to Berkeley by
|
||||
.\" the Institute of Electrical and Electronics Engineers, Inc.
|
||||
.\"
|
||||
.\" Redistribution and use in source and binary forms, with or without
|
||||
.\" modification, are permitted provided that the following conditions
|
||||
.\" are met:
|
||||
.\" 1. Redistributions of source code must retain the above copyright
|
||||
.\" notice, this list of conditions and the following disclaimer.
|
||||
.\" 2. Redistributions in binary form must reproduce the above copyright
|
||||
.\" notice, this list of conditions and the following disclaimer in the
|
||||
.\" documentation and/or other materials provided with the distribution.
|
||||
.\" 3. All advertising materials mentioning features or use of this software
|
||||
.\" must display the following acknowledgement:
|
||||
.\" This product includes software developed by the University of
|
||||
.\" California, Berkeley and its contributors.
|
||||
.\" 4. Neither the name of the University nor the names of its contributors
|
||||
.\" may be used to endorse or promote products derived from this software
|
||||
.\" without specific prior written permission.
|
||||
.\"
|
||||
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\" @(#)true.1 8.1 (Berkeley) 6/9/93
|
||||
.\"
|
||||
.\" $Id: true.1,v 1.1 1997/08/07 05:16:58 gdr Exp $
|
||||
.\"
|
||||
.TH TRUE 1 "6 August 1997" GNO "Commands and Applications"
|
||||
.SH NAME
|
||||
.BR true
|
||||
\- return true value
|
||||
.SH SYNOPSIS
|
||||
.BR true
|
||||
.SH DESCRIPTION
|
||||
.BR True
|
||||
is normally used in a Bourne shell script.
|
||||
.BR True
|
||||
tests for the appropriate status "true" before running
|
||||
(or failing to run) a list of commands.
|
||||
.SH SEE ALSO
|
||||
.BR csh (1),
|
||||
.BR sh (1),
|
||||
.BR false (1)
|
||||
.SH DIAGNOSTICS
|
||||
The
|
||||
.BR true
|
||||
utility always returns with exit code zero.
|
||||
.SH STANDARDS
|
||||
The
|
||||
.BR true
|
||||
utility is expected to be POSIX 1003.2 compatible.
|
12
usr.bin/true/true.c
Normal file
12
usr.bin/true/true.c
Normal file
@ -0,0 +1,12 @@
|
||||
/*
|
||||
* gno/usr.bin/true.c
|
||||
*
|
||||
* Devin Reade, 1997. (Are you impressed, yet?)
|
||||
*
|
||||
* $Id: true.c,v 1.1 1997/08/07 05:16:58 gdr Exp $
|
||||
*/
|
||||
|
||||
int
|
||||
main(int argc, char **argv) {
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue
Block a user