#!/bin/sh -e
versionformat() {
(vercmp formats | grep -q "^$1\$") \
&& echo "$1" \
|| echo "default"
}