====== tessent_user_arg ====== #!/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