#!/bin/sh set -euo pipefail usage() { echo 'Usage: index FILENAME.conf FILENAME.sortdata...]' } FILENAME="${1:-}" FILES="${2:-}" eval "$(assert-arg -- "$FILENAME" 'FILENAME.conf')" eval "$(assert-arg -- "$FILES" 'FILENAME.sortdata...')" . "$(realpath -- "$FILENAME")" shift printf '