in reply to Print First 3, last 30 lines of input

head -n 3 filename tail -n 30 filename

Replies are listed 'Best First'.
Re^2: Print First 3, last 30 lines of input
by Saved (Beadle) on Jan 28, 2010 at 19:40 UTC
    Are these shell head/tail, or does perl have them. I am familiar with shell ones, but my older perl doc does not show them. I will try the net as well. Thanx