オプションの解析
#headコマンドを作る #ふつうのLinuxプログラミング
オプションの慣習
getopt(3)
getopt_long(3)
オプションを扱うheadコマンド
GNU libcのgetopt()