用户工具

站点工具


edastudy:tessent:tessent_user_arg

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

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

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki