#!/bin/sh
[ "$#" -lt 2 ] && {
	echo >&2 usage: `basename $0` section from.html to.html ...
	echo >&2 "  "the ... is for more "to" files
	exit 1
}
section="$1"
from="$2"
shift 2
tmp="$section.niml_tmp.$$"
niml_get "$section" <"$from" >"$tmp"
modify "$@" : niml_set "$section" "$tmp"
rm "$tmp"
