#!/bin/sh # mall.sh 1.0 # Copyright (C) 2005 John Eriksson # # Description: # This is a template for an official script by Kohn. # Modify it to do something useful. NAME="mall.sh" VERSION="1.0" usage() { echo "Usage: $NAME [OPTION]..." echo "This is a template for an official script by Kohn." echo "Modify it to do something useful." echo echo " -h, --help print this help and exit" echo " -v, --version output version information and exit" echo echo "Report bugs to ." exit 1 } version() { echo "$NAME $VERSION" exit 0 } if [ "$1" = "-v" -o "$1" = "--version" ]; then version fi if [ "$1" = "-h" -o "$1" = "--help" ]; then usage fi # EOF .