tcl脚本读写配置文件
s## expect读配置文件
#!/usr/tcl/bin/expect
proc getConfig {configFile Key {Comment “#”} {Temp “[”}} {
打开配置文件
set Value “0”
set err [catch {set fileid [open KaTeX parse error: Expected 'EOF', got '}' at position 14: configFile r]}̲ errMsg]
i…err == 1} {
put
原创
2020-10-10 17:32:44 ·
1194 阅读 ·
0 评论