#!/bin/bash
# filename: getopts-6.sh
while getopts "abc" opts
do
  case $opts in
    a)
      echo a
      ;;
    b)
      echo b
      ;;
    c)
      echo c
      ;;
  esac
  echo OPTIND value is $OPTIND
done
