-★出爺;3 发表于 2018-8-23 11:28:38

shell参数中空格

action="$1"  

  
case "$action" in
  
    status)
  
      shift
  
      status$@
  
      exit $?
  
    ;;
  
    ...
  
   *)
  
      help
  
      exit -1
  
    ;;
  
esac


页: [1]
查看完整版本: shell参数中空格