clean up Id's, and such. reorganize man page slight to match lite's org.

This commit is contained in:
cgd 1995-03-21 07:03:50 +00:00
parent df247e9b94
commit a86f3aeda3
4 changed files with 25 additions and 21 deletions

View File

@ -1,5 +1,5 @@
# from: @(#)Makefile 5.1 (Berkeley) 6/8/92
# $Id: Makefile,v 1.5 1994/06/30 05:12:29 jtc Exp $
# $NetBSD: Makefile,v 1.6 1995/03/21 07:03:50 cgd Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
PROG= test
SRCS= test.c

View File

@ -1,7 +1,8 @@
# @(#)TEST.csh 5.1 (Berkeley) 6/8/92
# $NetBSD: TEST.csh,v 1.2 1995/03/21 07:03:59 cgd Exp $
# @(#)TEST.csh 5.2 (Berkeley) 4/30/93
alias t './test \!*; echo $status'
#alias t 'test \!*; echo $status'
#alias t '/usr/src/bin/test/obj/test \!*; echo $status'
alias t '/bin/test \!*; echo $status'
echo 't -b /dev/ttyp2'
t -b /dev/ttyp2

View File

@ -1,5 +1,7 @@
.\" Copyright (c) 1991 Regents of the University of California.
.\" All rights reserved.
.\" $NetBSD: test.1,v 1.6 1995/03/21 07:04:03 cgd Exp $
.\"
.\" Copyright (c) 1991, 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.
@ -32,10 +34,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" from: @(#)test.1 6.6 (Berkeley) 6/8/92
.\" $Id: test.1,v 1.5 1994/06/30 05:12:34 jtc Exp $
.\" @(#)test.1 8.1 (Berkeley) 5/31/93
.\"
.Dd June 8, 1992
.Dd May 31, 1993
.Dt TEST 1
.Os
.Sh NAME
@ -274,6 +275,16 @@ The
operator has higher precedence than the
.Fl o
operator.
.Sh GRAMMAR AMBIGUITY
The
.Nm test
grammar is inherently ambiguous. In order to assure a degree of consistency,
the cases described in
.St -p1003.2
section 4.62.4,
are evaluated consistently according to the rules specified in the
standards document. All other cases are subject to the ambiguity in the
command semantics.
.Sh RETURN VALUES
The
.Nm test
@ -293,13 +304,3 @@ The
utility implements a superset of the
.St -p1003.2
specification.
.Sh BUGS
The
.Nm test
grammar is inherently ambiguous. In order to assure a degree of consistency,
the cases described in
.St -p1003.2
section 4.62.4,
are evaluated consistently according to the rules specified in the
standards document. All other cases are subject to the ambiguity in the
command semantics.

View File

@ -1,3 +1,5 @@
/* $NetBSD: test.c,v 1.15 1995/03/21 07:04:06 cgd Exp $ */
/*
* test(1); version 7-like -- author Erik Baalbergen
* modified by Eric Gisin to be used as built-in.
@ -9,7 +11,7 @@
*/
#ifndef lint
static char *rcsid = "$Id: test.c,v 1.14 1994/07/07 19:08:11 cgd Exp $";
static char rcsid[] = "$NetBSD: test.c,v 1.15 1995/03/21 07:04:06 cgd Exp $";
#endif
#include <sys/types.h>