1. shell命令行传入参数处理

1.1. getopt

  • 独立的可执行文件
  • 功能复杂

1.2. getopts

  • getopts是由bash内置的
  • 功能简单

1.3. 相关资料

results matching ""

    No results matching ""