linux-tutorial/codes/shell/示例脚本/脚本函数/使用库函数.sh

9 lines
118 B
Bash
Raw Normal View History

2019-05-10 11:17:57 +08:00
#!/bin/bash
#using a library file the wrong way
. ./脚本库.sh
result=`addem 10 15`
echo "The result is $result"