And every week I teach SpamAssassin with those mailboxes with script:
 ====================================================
 #!/bin/sh
 DIR=/var/spool/mail/prem-ekb.ru
 sa-learn --clear
 sa-learn --spam ${DIR}/s...@prem-ekb.ru/cur/*S{a,}

In FreeBSD /bin/sh is a minimal POSIX bourne shell, brace expansion
isn't supported.

On 24.11.13 22:53, Гуляев Гоша wrote:
I will know that moment now, thanks!
But script are working, maybe because user root from which that script are 
starts uses /bin/csh shell?

this script starts with #!/bin/sh, which means it is supposed to run under
/bin/sh, where beace expansion does not need to be supported.

--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
42.7 percent of all statistics are made up on the spot.

Reply via email to