bash – pass arguments with flags to script
Pass arguments in any order, with ability to have some of the flags optional: 12345678910while getopts u:d:p:f: option do case "${option}" in u) USER=${OPTARG};; d) DATE=${OPTARG};; p) PRODUCT=${OPTARG};; f) FORMAT=${OPTARG};; … Read More