projects
/
migration-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
22812e3
)
compress: still trying to fix printing
author
Shawn Boyette
<sboyette@esilibrary.com>
Mon, 8 Dec 2008 22:31:40 +0000 (22:31 +0000)
committer
Shawn Boyette
<sboyette@esilibrary.com>
Mon, 8 Dec 2008 22:31:40 +0000 (22:31 +0000)
compress_fingerprints
patch
|
blob
|
history
diff --git
a/compress_fingerprints
b/compress_fingerprints
index
377a517
..
26fcd05
100755
(executable)
--- 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";