From: fsgqa Date: Thu, 25 Sep 2003 02:27:04 +0000 (+0000) Subject: Remove an extra comma in scripts output X-Git-Tag: v1.1.0~913 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=d803261e30deb42f7a952b298aa5f558494838af;p=users%2Fhch%2Fxfstests-dev.git Remove an extra comma in scripts output --- diff --git a/common.dbench b/common.dbench index 0c7415fa9..f4d7d1514 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() {