#!/usr/bin/awk -f # Usage: # awk -f dbsize.awk DBSIZE.TPL | sort # END { for ( data in size ) printf "%s:\t%15d\n", data, size[data]; }