Hi Angus,
Why did have to rewrite the script completely for the two reasons above??? We could have replaced the makefile invocation by a one-line patch. And there are already checks for uninitialized variables in the code. If I missed a place, a local change of a few lines would have been sufficient.Rewrite postats.sh to: 1. Not need the existence of a Makefile in order to run; 2. Not result in php warnings about uninitialised variables if any of the translated, fuzzy or untranslated strings are missing.
The new code is _much_ longer. I prefer short and simple solutions as they can be maintained more easily. IMHO functions like "dump_tail" only introduce overhead.
Michael
