From bea0037dbdd979603fb0b5be8b43f5478c1f6fec Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 19 Sep 2014 02:53:32 +0000 Subject: initial commit --- doc/s6-test.html | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 doc/s6-test.html (limited to 'doc/s6-test.html') diff --git a/doc/s6-test.html b/doc/s6-test.html new file mode 100644 index 0000000..22b6fbd --- /dev/null +++ b/doc/s6-test.html @@ -0,0 +1,53 @@ + + + + + s6-portable-utils: the s6-test program + + + + + + +

+s6-portable-utils
+Software
+skarnet.org +

+ +

The s6-test program

+ +

+ s6-test evaluates an expression and indicates the result via its +exit status. +

+ +

Interface

+ +
+     s6-test expression...
+
+ +

+ s6-test acts as the generic +test utility, +but it diverges from the specification on one point: if an argument starts with a backslash, +this backslash is ignored (and the argument cannot be an operation). This is a simple +disambiguation technique that has unfortunately not been chosen by the standard. +

+ +

+ s6-test accepts an arbitrary number of arguments. +

+ +

Posixness

+ +

+ s6-test is not suitable as a Single Unix +test +program; however, if your arguments never start with a backslash, it exhibits the +exact same behaviour. +

+ + + -- cgit v1.3.1