shell/脚本函数/使用库函数.sh

9 lines
118 B
Bash

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