It looks for all the files to do with the spanish translation.
It then counts them, and prints out, space seperated:
- the number of lines
- the number of words
- the number of bytes
in those files.
(Excluding the header comments).

On 4 December 2013 22:53, Thomas Wrobel <darkfl...@gmail.com> wrote:
> On 4 December 2013 23:46, Vicente J. Ruiz Jurado <v...@ourproject.org>wrote:
>
>> El 04/12/13 23:31, Thomas Wrobel escribió:
>> > How many strings we talking about here? I use dictionary all the time,
>> but
>> > never for more then a dozen parameters.
>> > The downside I think is that the end user will have to load all the
>> > languages they arnt using - but unless we are talking about hundreds of
>> > words here, that's likely insignificant. Plus, it would let them select a
>> > languages from a menu and have it change instantly without refreshing.
>>
>> $ for i in `find src -name *_es.properties`; do cat $i | egrep -v
>> "^#|^$" ;done  | wc
>>      79     367    2267
>>
>> BR,
>>
>
> *woosh* (sound of it going over my head)
> That's a bit too cryptic for me to decode.
>
> *_es.property's is where the text is stored I assume. "^#|^$" is some sort
> of regex but I cant read it. (starts with number or ? :?)
> Then there's numbers....that the result?

Reply via email to