[% SET lineno = 0 %] [% FOREACH line IN lines %] [% lineno = lineno + 1 %]
[% line %] 
[% END %]