#! /usr/bin/ksh -p ########################################################################## # Title : header.ksh - short description (only one line) # Author : Heiner Steven # Date : yyyy-mm-dd # Category : # Requires : # SCCS-Id. : %Z% %M% %I% %E% ########################################################################## # Description # ########################################################################## PN=${0##*/} # Program name VER='%I%' function usage { echo >&2 "$PN - short description, $VER" exit 1 } function msg { echo >&2 "$PN:" "$@" } function fatal { msg "$@"; exit 1; } while getopts :h opt do case "$opt" in # your flags here #f) argument=$OPTARG;; h) usage;; ?) usage;; esac done shift OPTIND-1