From: Shawn Boyette Date: Mon, 8 Dec 2008 22:31:40 +0000 (+0000) Subject: compress: still trying to fix printing X-Git-Url: http://git.equinoxoli.org/?p=migration-tools.git;a=commitdiff_plain;h=398e93434ec9d1b0db23d74495ef986b3ca33213 compress: still trying to fix printing --- diff --git a/compress_fingerprints b/compress_fingerprints index 377a517..26fcd05 100755 --- a/compress_fingerprints +++ b/compress_fingerprints @@ -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";