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