[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: msgfmt --statistics annoyance



On Monday 19 June 2006 03:16, Javier Fernández-Sanguino Peña wrote:
> > If I only ask for statistics, why is this file created?
>
> Because you didn't just ask for it, msgfmt is the tool used to compile
> a message catalog (.po) to a binary (.mo). The '--statistics' makes it
> provide additional information *after* the compilation.

Thanks for the replies. IMO it's not obvious that things work that way 
from the manpage, but well...

I've solved it (as suggested by adn) by creating an alias in .bashrc:
   alias msgstat='msgfmt --stat -c -o /dev/null'
So now I just have to remember to run msgstat instead of msgfmt.

Cheers,
FJP

Attachment: pgpH9HS1LxTjW.pgp
Description: PGP signature


Reply to: