相关疑难解决方法(0)

一元运营商的预期

我一直试图弄清楚这有什么不对,但是无法弄清楚..

这部分似乎是一个错误..

elif [ $operation = "man" ]; then
    if [ $aug1 = "add" ]; then         # <- Line 75
    echo "Man Page for: add"
    echo ""
    echo "Syntax: add [number 1] [number 2]"
    echo ""
    echo "Description:"
    echo "Add two different numbers together."
    echo ""
    echo "Info:"
    echo "Added in v1.0"
    echo ""
elif [ -z $aug1 ]; then
    echo "Please specify a command to read the man page."
else
    echo "There is no manual page for that command." …
Run Code Online (Sandbox Code Playgroud)

bash shell

189
推荐指数
3
解决办法
31万
查看次数

标签 统计

bash ×1

shell ×1