Or start to print as soon as you meet the desired input.
my $print_this = 0; while (<$IN>) { print if $print_this; $print_this = 1 if /^Status of the log/; }
In reply to Re: get few lines from a file
by Laurent_R
in thread get few lines from a file
by agreen54
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |