用户工具

站点工具


edastudy:tessent:tessent_user_arg

这是本文档旧的修订版!


tessent_user_arg

xxxx
#!/bin/sh
#\
exec tessent -shell -dofile "$0" -arguments ${1+"$@"}
 
set_transcript_style off
puts "$tessent_user_arg"
# add dofile commands here
 
array set ar $tessent_user_arg
 
puts "ar(a)"
puts "ar(b)"
puts "ar(c)"
exit
命令:

./xxxx a=5 b=6 c=7
执行结果:
a 5 b 6 c 7
5
6
7
edastudy/tessent/tessent_user_arg.1704788417.txt.gz · 最后更改: 2024/01/09 16:20 由 zhangguo

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki