Use POSIX getopts shell builtin to make life easier and add -f option to ignore missi...