The following prints lines 24-48 of filename: prompt> perl -ne "print if 24..48" filename
"Ken Wolcott" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > A fishing pole question rather than a fish question :-) > > What search string do I use on google or perldoc so that I know how to > display a specified range of lines from a file (like sed -n 24, 48p > filename)? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>