决断
linuxshell之函数相互调用
linuxshell之函数相互调⽤vi function9.sh#!/bin/bash#函数执⾏显⽰输⼊参数的平⽅square(){echo "Please input the num:"read num1let "squ = num1 * num1"echo "Square of $num1 is $squ."}#函数执⾏显⽰输⼊参数的⽴⽅cube(){echo "Please input th...
linuxshell之函数相互调⽤vi function9.sh#!/bin/bash#函数执⾏显⽰输⼊参数的平⽅square(){echo "Please input the num:"read num1let "squ = num1 * num1"echo "Square of $num1 is $squ."}#函数执⾏显⽰输⼊参数的⽴⽅cube(){echo "Please input th...