From d803261e30deb42f7a952b298aa5f558494838af Mon Sep 17 00:00:00 2001 From: fsgqa Date: Thu, 25 Sep 2003 02:27:04 +0000 Subject: [PATCH] Remove an extra comma in scripts output --- common.dbench | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/common.dbench b/common.dbench index 0c7415fa..f4d7d151 100755 --- a/common.dbench +++ b/common.dbench @@ -31,10 +31,11 @@ _filter_dbench() # Output for a "multipass" dbench run. _format_header_multipass() { - for i in $@; do - printf "%4s::MB/sec," $i + while [ $# -gt 1 ]; do + printf "%4s::MB/sec," $1 + shift done - printf "\n" + printf "%4s::MB/sec\n" $1 } _filter_dbench_multipass() { -- 2.47.3