Saved has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's minimum standard of quality and will not be displayed.

Replies are listed 'Best First'.
Re: Print First 3, last 30 lines of input
by jwkrahn (Abbot) on Jan 28, 2010 at 17:28 UTC
    head -n 3 filename tail -n 30 filename
      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
Re: Print First 3, last 30 lines of input
by gmargo (Hermit) on Jan 28, 2010 at 17:33 UTC
Re: Print First 3, last 30 lines of input
by roboticus (Chancellor) on Jan 29, 2010 at 02:42 UTC
      Thanx Roboticus. I can "brute force" my way arround, but every so often I long for something more elegent... and always find it here. Thanx to ALL