From 75ac15c2af835b346a565b6984fb42ae07e1eb69 Mon Sep 17 00:00:00 2001 From: Ole Tange Date: Mon, 3 Dec 2012 14:16:03 +0100 Subject: [PATCH] not: negate the output value of a program. --- not/not | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 not/not diff --git a/not/not b/not/not new file mode 100755 index 0000000..58eccbc --- /dev/null +++ b/not/not @@ -0,0 +1,9 @@ +#!/bin/bash + +if "$@"; then + exit 1 +else + exit 0 +fi + +