Anonymous Monk gives some code he's started so you are a bit unfair I think.
In reply to Re^2: printing specific lines by ambrus in thread printing specific lines by Anonymous Monk