Re: How many words does GNOME 1.2 has?



Jordi Mas <jmas softcatala org> writes:

> Does anyone know how many words does GNOME 1.2 has? I mean, the word
> couting for the original strings of all the POs.

Eval the POT files with a few shell commands; e.g.:

    grep -v ^# gnome-libs.pot | sed 's/^\(msgid\|msgstr\)//' | wc -w

This means:

    1. Remove all comment lines with `grep'.

    2. Through away the POT file keywords with `sed'.

    3. Count the remaining words with `wc'.

Repeat it for all wanted GNOME modules: a `for..' loop could help.

Or write a nice `awk' script ;)

-- 
work : ke suse de                          |          ------    ,__o
     : http://www.suse.de/~ke/             |         ------   _-\_<,
home : keichwa gmx net                     |        ------   (*)/'(*)





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