Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/bin/test - Remove unneeded consecutive argument in `.Nm' mac...
details: https://anonhg.NetBSD.org/src/rev/2a75383fa198
branches: trunk
changeset: 783352:2a75383fa198
user: wiz <wiz%NetBSD.org@localhost>
date: Sun Dec 16 17:57:49 2012 +0000
description:
- Remove unneeded consecutive argument in `.Nm' macros;
- rename `GRAMMAR AMBIGUITY' section to `CAVEATS', and move it to
correct location;
- bump date.
>From Bug Hunting.
diffstat:
bin/test/test.1 | 36 ++++++++++++++++++------------------
1 files changed, 18 insertions(+), 18 deletions(-)
diffs (89 lines):
diff -r cb1d4674de57 -r 2a75383fa198 bin/test/test.1
--- a/bin/test/test.1 Sun Dec 16 15:32:38 2012 +0000
+++ b/bin/test/test.1 Sun Dec 16 17:57:49 2012 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: test.1,v 1.27 2009/11/10 18:19:46 wiz Exp $
+.\" $NetBSD: test.1,v 1.28 2012/12/16 17:57:49 wiz Exp $
.\"
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -32,7 +32,7 @@
.\"
.\" @(#)test.1 8.1 (Berkeley) 5/31/93
.\"
-.Dd November 10, 2009
+.Dd December 16, 2012
.Dt TEST 1
.Os
.Sh NAME
@@ -40,13 +40,13 @@
.Nm \&[
.Nd condition evaluation utility
.Sh SYNOPSIS
-.Nm test
+.Nm
.Ar expression
.Nm \&[
.Ar expression Cm \&]
.Sh DESCRIPTION
The
-.Nm test
+.Nm
utility evaluates
.Ar expression
and, if it evaluates
@@ -55,12 +55,12 @@
If
.Ar expression
is not given,
-.Nm test
+.Nm
also
returns 1 (false).
.Pp
All operators and flags are separate arguments to the
-.Nm test
+.Nm
utility.
.Pp
The following primaries are used to construct
@@ -293,19 +293,9 @@
and
.Fl L
follow symbolic links and thus evaluate the test for the file pointed at.
-.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 EXIT STATUS
The
-.Nm test
+.Nm
utility exits with one of the following values:
.Bl -tag -width Ds
.It 0
@@ -319,7 +309,17 @@
.El
.Sh STANDARDS
The
-.Nm test
+.Nm
utility implements a superset of the
.St -p1003.2
specification.
+.Sh CAVEATS
+The
+.Nm
+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.
Home |
Main Index |
Thread Index |
Old Index