#!/bin/sh # vim: set sw=4 ts=4 et: help() { cat < shift by 2 --) shift;break;; # end of options -*) echo "error: no such option $1. -h for help";exit 1;; *) break;; esac done # The main program of you script comes after this line error "ERROR: This is a generic script framework you must modify it first" #