check-ws_sh2rst.sh - convert myself to ReST with ws_sh2rst.py

Contents

SYNOPSIS

usage: check-ws_sh2rst.sh [OPTIONS]

OPTIONS
-h, --help show usage
--docu show full documentation

Author: Wolfgang Scherer, <Wolfgang.Scherer at gmx.de> Sponsored by WIEDENMANN SEILE GMBH, http://www.wiedenmannseile.de Copyright: This program has been placed in the public domain.

015  :  # script help

FUNCTIONS

Here, the script examines itself to provide help.

022  usage ()
023  {
024      script_help="script-help"
025      ( "${script_help}" ${1+"$@"} "${0}" ) 2>/dev/null \
026      || ${SED__PROG-sed} -n '3,/^[^#]/{;/^[^#]/d;p;}' "${0}";
027  }

A minimal option handler, to provide basic help.

030  test x"${1+set}" = xset && \
031  case "${1}" in
032  -\?|-h|--help) usage; exit 0;;
033  --docu) usage --full; exit 0;;
034  esac

MAIN

tags like |:here:| are recognized and commented out in the output

Call ws_sh2rst.py to produce ReST output of this script.

043  ../tools/ws_sh2rst.py "${0}"

add a little more beef ...

047  exit # |||:here:|||