summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2015-11-06 21:56:46 +0000
committerjmc <jmc@openbsd.org>2015-11-06 21:56:46 +0000
commitd77b518085d2762a27c31db6c028cbd8bc55fb82 (patch)
tree923adb3ff45e2ffafe8fc4cb1f5bfdddd802e6f8
parentFix gcc version preprocessor checks to cope with gcc 5.x and beyond; (diff)
downloadwireguard-openbsd-d77b518085d2762a27c31db6c028cbd8bc55fb82.tar.xz
wireguard-openbsd-d77b518085d2762a27c31db6c028cbd8bc55fb82.zip
add [ to NAME, and document it; the NAME addition was
proposed by ingo a while back but never got committed; ok schwarze
-rw-r--r--bin/test/test.111
1 files changed, 8 insertions, 3 deletions
diff --git a/bin/test/test.1 b/bin/test/test.1
index 926b2fa54db..cd015de9cb9 100644
--- a/bin/test/test.1
+++ b/bin/test/test.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: test.1,v 1.31 2014/06/03 20:26:37 jmc Exp $
+.\" $OpenBSD: test.1,v 1.32 2015/11/06 21:56:46 jmc Exp $
.\" $NetBSD: test.1,v 1.6 1995/03/21 07:04:03 cgd Exp $
.\"
.\" Copyright (c) 1991, 1993
@@ -33,11 +33,12 @@
.\"
.\" @(#)test.1 8.1 (Berkeley) 5/31/93
.\"
-.Dd $Mdocdate: June 3 2014 $
+.Dd $Mdocdate: November 6 2015 $
.Dt TEST 1
.Os
.Sh NAME
-.Nm test
+.Nm test ,
+.Nm \&[
.Nd condition evaluation utility
.Sh SYNOPSIS
.Nm test
@@ -58,6 +59,10 @@ is given,
.Nm
also
returns 1 (false).
+The form
+.Nm \&[
+is an alias for
+.Nm test .
.Pp
All operators and flags are separate arguments to the
.Nm