#!/bin/bash
# to run on volumes output by RwVolumes script
while read b d c e;do
  if [ "$d" = 0 ];then echo >&2 "$b $c $d"
  else echo "`expr $c \* 100 / $d` $b"|xargs printf '%%%03d  %s\n'
  fi
done
