Help for this page

Select Code to Download


  1. or download this
    while( <> ) {
      chomp;
    ...
        print "File: $ARGV, Line $.: $_\n";
      }
    }
    
  2. or download this
    $ ./nonimo.pl filename1.txt filename2.txt
  3. or download this
    perl -lnE 'if(tr/IMO//c){s/([^IMO]+)/[-->$1<--]/g; say "$ARGV-$.: $_"}
    +' file1.txt file2.txt fileXX.txt