1 2 3 4 5 6 7 8 9 10
#! /bin/sh echo "output version" stap -V if [ $? != 0 ]; then exit $? fi echo "output version and help" stap -h