llvm/test/Scripts/not
Chris Lattner 2b142bd65e New script for testrunner programs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6956 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-28 22:52:52 +00:00

13 lines
179 B
Bash
Executable File

#!/bin/sh
#
# Program: not
#
# Synopsis: Inverse the output of the program specified on the command line
#
# Syntax: not command <arguments>
if "$@"
then exit 1
else exit 0
fi