Hei!

Santiago Vila wrote:
> On Wed, 2 Nov 2005, Juhan Kundla wrote:

[...]

> > The behaviour of the mailstat on Sarge is different than the
> > behaviour on the Woody and Sid. Not having summary lines per maildir in
> > the mailstat output is somewhat annoying, it makes the utility useless,
> > when there are lots of maildirs and lots of mails delivered.
> 
> The mailstat script has not changed at all between woody and sarge.
> Please check it for yourself. It must be something else what makes it
> to fail (for example, a broken sed, awk, etc).

Yes, you're correct, this is not a version-specific problem. I found
out, what causes differences in the behaviour of the mailstat script. If
i execute `export LC_ALL=en_US' before executing mailstat, then the
mailstat works as expected, however, if i execute `LC_ALL=et_EE'
(which is the default locale in my computer) then it produces this weird
result, which i described earlier.

I think the regular expressions, which are used by the mailstat script,
behave differently under different locale settings.

Thanks for such a quick response.


Juhan


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to