linux-tutorial/codes/shell/示例脚本/脚本函数/使用库函数.sh
2019-05-10 11:17:57 +08:00

9 lines
118 B
Bash

#!/bin/bash
#using a library file the wrong way
. ./脚本库.sh
result=`addem 10 15`
echo "The result is $result"