2020-03-03 20:43:38

This commit is contained in:
monlor
2020-03-03 20:43:38 +08:00
parent 3b23ed288f
commit a6a1e0a5fc
23 changed files with 177 additions and 41 deletions

View File

@@ -279,3 +279,10 @@ bincheck () {
return $?
}
# 通过传入一个字符串,取变量名称等于该字符串的变量值
function parse_str() {
[ -z "${1}" ] && echo -n "" || eval echo -n '$'"${1}"
}

View File

@@ -3,5 +3,5 @@ appname="mixbox"
needver=""
supports="linux_arm,linux_mips,linux_x86_64,darwin_x86_64"
appinfo="一款支持多平台多架构的Shell工具箱"
newinfo="修复由于mbdb导致frpc配置无法识别的bug"
version="0.0.7"
newinfo="新增功能parse_str用于解析变量"
version="0.0.8"