Help for this page

Select Code to Download


  1. or download this
    perl -lne 'print if /pattern/' filename
    
  2. or download this
    grep 'pattern' filename
    
  3. or download this
    use strict;
    use warnings;
    ...
            print "$line\n";
        }
    }