获取shell运行的时候传递的参数

这边主要介绍经常使用的两个方法web $1,$2,$3 的方式$1 就是第一个 $2 就是第二个 while [ $# -gt 0 ]; do case $1 in -sql_file_path) echo "$2" shift ;; -start_date) echo if [ -n "$2" ] ;then echo "star
相关文章
相关标签/搜索