Merge branch 'dev' of feistymeow.org:feisty_meow into release-2.140.94
[feisty_meow.git] / examples / bashisms / example_getops_parsing.txt
diff --git a/examples/bashisms/example_getops_parsing.txt b/examples/bashisms/example_getops_parsing.txt
deleted file mode 100644 (file)
index 1f26b80..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-
-# shell option parsing -- old school version only handles single dash options.
-
-while getopts "fr:q:a:h" opt; do
-    case "${opt}" in
-        f) force_query=1; ;;
-        r) row_num="${OPTARG}"; ;;
-        q) queue_name="${OPTARG}"; ;;
-        a) alias_name="${OPTARG}"; ;;
-        h) usage 1>&2;  exit ${EX_OK}; ;;
-        ?) usage 1>&2;  exit ${EX_USAGE}; ;;
-    esac
-done
-
-shift $(($OPTIND - 1))
-