Shell script to pass multiple arguments with options #!/bin/bash if (($# == 0)); then echo "Please pass argumensts -t <task1><task2>... -d <date>.." exit 2 fi while getopts ":t:d:" opt; do case $opt in t) echo "-t was triggered, Parameter: $OPTARG" >&2 TASKS=$OPTARG ;; d) echo "-d was triggered, Parameter: $OPTARG"…
More..