Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re: Delete every n line

by b10m (Vicar)
on May 09, 2008 at 14:50 UTC ( #685687=note: print w/replies, xml ) Need Help??

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).