increase lineno via for-loop