Help for this page

Select Code to Download


  1. or download this
    use warnings;
    use strict;
    while (<>) {
      print if /ERROR|EXCEPTION/i;
    }
    
  2. or download this
    myscript.pl /var/log/*log >errors.log