r.ip #7

开启中
DarkFeather 请求将 10 次代码提交从 r.ip 合并至 main
仅显示提交 51f895639b 的更改 - 显示所有提交

查看文件

@ -28,7 +28,7 @@ function getAPIConfigValue() {
# Get the api config value
# param attr: the attribute to look for
# returns: the attribute's value
egrep -A 10 '^\[ API \]$' "$file" | egrep -m 1 '^'"$1"'=' | sed 's/^'"$1"'=//'
grep -A 10 -E '^\[ API \]$' "$file" | grep -m 1 -E '^'"$1"'=' | sed 's/^'"$1"'=//'
}
# Parse arguments