You might want to use the --omit-header argument when invoking xgettext. by default a header is printed with a license template, which is then ignored by your parser. Why not make sure it is not printed in the first place so you don't have to ignore it (because it isn't there)?
This is a micro-optimization but when processing large amounts of files in batch mode it might pay off.
You might want to use the
--omit-header
argument when invokingxgettext
. by default a header is printed with a license template, which is then ignored by your parser. Why not make sure it is not printed in the first place so you don't have to ignore it (because it isn't there)?This is a micro-optimization but when processing large amounts of files in batch mode it might pay off.