0

嗨,我写了一个 jacl 脚本,它在以下情况下无法正常工作;美元!\

测试.jacl

set password [ lindex $argv 1 ]

puts "Hello your entered password is  $password"

脚本输出

当我跑

../test.jacl testUser Foo\b4r*

它返回

Hello your entered password is Foob4r*

案例二:

 ../test.jacl testUser Foo$b4r*

输出

Hello your entered password is Foo*

案例 3:

../test.jacl testUser Foo;b4r*

输出

Hello your entered password is Foo

案例 3:

../test.jacl testUser Foo!b4r*

输出

-bash: !b4r*: event not found

请提出解决此问题的最佳方法

4

0 回答 0