subotage.sh - format detection