From 398e93434ec9d1b0db23d74495ef986b3ca33213 Mon Sep 17 00:00:00 2001 From: Shawn Boyette Date: Mon, 8 Dec 2008 22:31:40 +0000 Subject: [PATCH] compress: still trying to fix printing --- compress_fingerprints | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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"; -- 1.7.2.5