... bash test.sh -a hello this is -a the arg is !...while getopts "a:" opt; do. ... 本文介绍使用Linux的getopts命令,获取命令行参数的方法,提供完整演示实例。
確定! 回上一頁