>>  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.

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?
I try:
(default shell /bin/csh) # ls /usr/ports/{x11,audio}
.................get list of results....................
(default shell /bin/csh) #  sh
(changed shell sh) # ls /usr/ports/{x11,audio}
No such file or directory

So you are right, but script are working :)

--------------------------------------------
  С уважением, Гуляев Гоша.

Reply via email to