Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
      my @grepped= grep {/\Q$second\E/} @array;
      print "$first\t$grepped[0]\n";
    }
    
  2. or download this
    $ join -1 2 -2 1 file1.txt file2.txt