#! /bin/bash # This script outputs a row of the following format # <# of values for the key> _ uniq -c | sed "s@^ *@@" | sed "s@\t@_@" | sed "s@ @\t@"