compress: still trying to fix printing
authorShawn Boyette <sboyette@esilibrary.com>
Mon, 8 Dec 2008 22:31:40 +0000 (22:31 +0000)
committerShawn Boyette <sboyette@esilibrary.com>
Mon, 8 Dec 2008 22:31:40 +0000 (22:31 +0000)
compress_fingerprints

index 377a517..26fcd05 100755 (executable)
@@ -16,7 +16,7 @@ open FP, '<', $ARGV[0] or die "Can't open input file: $!\n";
 
 my $count = 0;
 my $i = 0;
-my $total = `wc -l $ARGV[0]`;
+my ($total) = split /s+/, `wc -l $ARGV[0]`;
 $| = 1;
 
 print "Loading and ranking fingerprints\n";