edastudy:tessent:tessent_user_arg
差别
这里会显示出您选择的修订版和当前版本之间的差别。
后一修订版 | 前一修订版 | ||
edastudy:tessent:tessent_user_arg [2024/01/09 16:07] – 创建 zhangguo | edastudy:tessent:tessent_user_arg [2024/01/09 16:20] (当前版本) – zhangguo | ||
---|---|---|---|
行 2: | 行 2: | ||
- | <code> | + | <file tcl xxxx > |
#!/bin/sh | #!/bin/sh | ||
#\ | #\ | ||
行 10: | 行 10: | ||
puts " | puts " | ||
# add dofile commands here | # add dofile commands here | ||
+ | |||
+ | array set ar $tessent_user_arg | ||
+ | |||
+ | puts " | ||
+ | puts " | ||
+ | puts " | ||
exit | exit | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | 命令: | ||
+ | |||
+ | ./xxxx a=5 b=6 c=7 | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | 执行结果: | ||
+ | a 5 b 6 c 7 | ||
+ | 5 | ||
+ | 6 | ||
+ | 7 | ||
</ | </ | ||
edastudy/tessent/tessent_user_arg.1704787665.txt.gz · 最后更改: 2024/01/09 16:07 由 zhangguo