new-words

diff grep-sentences.pl @ 7:57dc4ef40415

Added tag v0.1 for changeset d1851ee29a1a
author Igor Chubin <igor@chub.in>
date Wed Mar 31 18:56:56 2010 +0300 (2010-03-31)
parents 9345cc05fdd1
children c6efd17741aa
line diff
     1.1 --- a/grep-sentences.pl	Tue Mar 09 11:57:55 2010 +0200
     1.2 +++ b/grep-sentences.pl	Wed Mar 31 18:56:56 2010 +0300
     1.3 @@ -1,8 +1,8 @@
     1.4  #!/usr/bin/perl
     1.5  
     1.6  
     1.7 -$page=$ARGV[0];
     1.8 -$regexp=$ARGV[1];
     1.9 +$regexp=$ARGV[0];
    1.10 +$page=$ARGV[1];
    1.11  #if (open(PAGE, "lynx -dump '$page'|")) {
    1.12  if (open(PAGE, "$page")) {
    1.13      local $/;