aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
Diffstat (limited to 'man')
-rw-r--r--man/man1/vest.1df19
-rw-r--r--man/man1/vex.1df21
2 files changed, 40 insertions, 0 deletions
diff --git a/man/man1/vest.1df b/man/man1/vest.1df
new file mode 100644
index 00000000..e94e6a82
--- /dev/null
+++ b/man/man1/vest.1df
@@ -0,0 +1,19 @@
+.TH VEST 1df "December 2016" "Manual page for vest"
+.SH NAME
+.B vest
+\- run a test(1) command and print true/false to stdout for success/failure
+.SH SYNOPSIS
+.B vest
+\-f /foo/bar/baz
+.br
+.B vest
+\-s /etc/hostname
+.SH DESCRIPTION
+.B vest
+wraps the test(1) command, but prints an explicit "true" or "false" to stdout
+to show whether the test was true or false. It exits with the same value as the
+test it ran.
+.SH SEE ALSO
+test(1), vex(1df)
+.SH AUTHOR
+Tom Ryder <tom@sanctum.geek.nz>
diff --git a/man/man1/vex.1df b/man/man1/vex.1df
new file mode 100644
index 00000000..e072bcb4
--- /dev/null
+++ b/man/man1/vex.1df
@@ -0,0 +1,21 @@
+.TH VEX 1df "December 2016" "Manual page for vex"
+.SH NAME
+.B vex
+\- run a command and print true/false to stdout for success/failure
+.SH SYNOPSIS
+.B vex
+true
+.br
+.B vex
+test -f /foo/bar/baz
+.SH DESCRIPTION
+.B vex
+runs the command given in its arguments, and prints "true" or "false" as the
+last line of stdout based on the command's exit value. It does not interfere
+with any output or error from the command itself.
+.P
+The exit value is the same as the command wrapped.
+.SH SEE ALSO
+vest(1df)
+.SH AUTHOR
+Tom Ryder <tom@sanctum.geek.nz>