#### 获取配置文件配置路径,javapath为配置项,var为具体的配置值
eval $(awk -F "javapath=" '{if($2=="") {print $2} else {print "var="$2}}' 1.sh)
echo $var
#####计算MD5值
file=1.sh
md5Hash=`md5sum "$file"`;
md5Hash=${md5Hash%%\ *};
echo $md5Hash
md5Hash=`md5sum "$file"`;
md5Hash=${md5Hash%%\ *};
echo $md5Hash