#!/usr/bin/env dash set -u # the name of this program progname="$(basename "${0}")" help_text="Usage: ${progname} [options...] URL Validate the given feed URL, excluding false-positives Options: -h Print this help and exit " usage() { printf '%s' "${help_text}" } # when the user passess bad args, send a msg to stderr and exit # usage: bad_option