From e947b276fdbed92a3355454dd7246c4cca3c6315 Mon Sep 17 00:00:00 2001 From: martinahansen Date: Thu, 9 Sep 2010 08:36:26 +0000 Subject: [PATCH] slight fix of printf in progress_meter git-svn-id: http://biopieces.googlecode.com/svn/trunk@1080 74ccb610-7750-0410-82ae-013aeee3265d --- bp_bin/progress_meter | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bp_bin/progress_meter b/bp_bin/progress_meter index 4e03cb4..eca7c4b 100755 --- a/bp_bin/progress_meter +++ b/bp_bin/progress_meter @@ -41,7 +41,7 @@ options = bp.parse(ARGV, casts) bp.each_with_index do |record, count| bp.puts record unless options.has_key? :no_stream - $stderr.printf "\n% 8d ", count if (count % (options[:count] * 100)) == 0 + $stderr.printf "\n% 9d ", count if (count % (options[:count] * 100)) == 0 $stderr.print "." if (count % options[:count]) == 0 end -- 2.39.2