aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-12-22 10:50:06 +1300
committerTom Ryder <tom@sanctum.geek.nz>2016-12-22 10:50:06 +1300
commit9267bccb6ae2f03f1eb8df7b3dd13d13ea57d14a (patch)
treede202e4865ae64c8fa2f958457738f0a5599684c /man
parentFix printf argument mismatch bugs (diff)
downloaddotfiles-9267bccb6ae2f03f1eb8df7b3dd13d13ea57d14a.tar.gz
dotfiles-9267bccb6ae2f03f1eb8df7b3dd13d13ea57d14a.zip
Add vex(1df) and vest(1df)
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>