diff --git a/xwords4/dawg/mkindex.sh b/xwords4/dawg/mkindex.sh
index 2f029c7c0..76d4cafa1 100755
--- a/xwords4/dawg/mkindex.sh
+++ b/xwords4/dawg/mkindex.sh
@@ -19,11 +19,15 @@ do_lang() {
for DICT in $(ls *.xwd); do
echo "
"
echo " ${DICT%.xwd} | "
- SIZE=$(ls -l $DICT | awk '{print $5}')
- echo "${SIZE} | "
- HEXCOUNT=$(hd $DICT | head -n 1 | awk '{print $6 $7 $8 $9}' | tr [a-f] [A-F])
+
+ HEXCOUNT=$(hd $DICT | head -n 1 | awk '{print $6 $7 $8 $9}' | \
+ tr [a-f] [A-F])
DECCOUNT=$(echo "ibase=16;$HEXCOUNT" | bc)
echo "${DECCOUNT} | "
+
+ SIZE=$(ls -l $DICT | awk '{print $5}')
+ echo "${SIZE} | "
+
echo "
"
[ -n "$DO_MD5" ] && md5sum $DICT | awk '{print $1}' > $DICT.md5
done
@@ -59,7 +63,7 @@ done
echo "."
echo ""
-echo "File | Size | Wordcount |
"
+echo "Dictionary | Wordcount | Size |
"
for DIR in $DIRS; do
do_lang $DIR
done