# utility functions for regtap debugging
function othertap() {
	# args: access_url, query
	curl -s -FLANG=ADQL -FREQUEST=doQuery -FQUERY="$2" -FFORMAT=text/plain \
		"$1/sync"
}

function onmirrors() {
	# args: query
	/bin/echo -e ">>>>> Heidelberg\n"
	othertap http://dc.g-vo.org/tap "$1"
	/bin/echo -e "\n>>>>> Potsdam\n"
	othertap http://gavo.aip.de/tap "$1"
	/bin/echo -e "\n>>>>>> Paris\n"
	othertap http://voparis-rr.obspm.fr/tap "$1"
}
