bind pub "-|-" !tests pub:tests
proc pub:tests { nick host handle channel arg } {
set size [ exec ls -l /home/archiv/pics/*.r* | wc -l ]
putnow "PRIVMSG $channel :size $size"
}
我有这个错误
[09:36:19] Tcl error: 0
ls: cannot access '/home/archiv/pics/*.r*': No such file or directory
当我在 bash 中测试时
ls -l /home/archiv/pics/*.r* |wc -l
result:
71
如何使用.r(通配符)?怎么了?dir 是正确的,访问是正确的。谢谢帮助。
问候