From 9267bccb6ae2f03f1eb8df7b3dd13d13ea57d14a Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 22 Dec 2016 10:50:06 +1300 Subject: Add vex(1df) and vest(1df) --- man/man1/vest.1df | 19 +++++++++++++++++++ man/man1/vex.1df | 21 +++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 man/man1/vest.1df create mode 100644 man/man1/vex.1df (limited to 'man') 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 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 -- cgit v1.2.3