declare as little-a array so key will be listed in numeric order

This commit is contained in:
Eric House 2014-12-15 16:41:15 -08:00
parent 45ef4fcb65
commit eb5ae9edd3

View file

@ -35,7 +35,7 @@ DUP_PACKETS=''
declare -A PIDS
declare -A APPS
declare -A NEW_ARGS
declare -A ARGS
declare -a ARGS
declare -A ARGS_DEVID
declare -A ROOMS
declare -A FILES
@ -471,7 +471,7 @@ summarizeTileCounts() {
local LINE=$(grep pool_removeTiles $LOG | tail -n 1)
if [ -n "$LINE" ]; then
local NUM=$(echo $LINE | sed 's,^.*removeTiles: \(.*\) tiles.*$,\1,')
STR="${STR}${KEY}:${NUM};"
STR="${STR} ${KEY}:${NUM}"
fi
done