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"
}
I have this error
[09:36:19] Tcl error: 0
ls: cannot access '/home/archiv/pics/*.r*': No such file or directory
when i test in bash working this
ls -l /home/archiv/pics/*.r* |wc -l
result:
71
how can use .r (wildcard)? what is wrong? dir is correct, acces is correct. thx to help.
Regards