http://www.perlmonks.org?node_id=685687


in reply to Delete every n line

TIMTOWTDI: Sed is probably the fastest way here ;-)

sed '0~25d' filename

Others will probably show fance Perl golf examples (hopefully).

--
b10m