learn the use of "getopt" in shell