#!/usr/bin/env zsh

export PERL5LIB=lib

checks="BSVG Braunschweig Hbf
DING Ulm Hbf
KVV Karlsruhe Hbf
LinzAG Linz/Donau Hbf
MVV München Hackerbrücke
NVBW Stuttgart Hbf (A.-Klett-Pl.)
VAG Schallstadt Bf
VGN Nürnberg Hbf
VMV Schwerin Hbf
VRN Mannheim Hbf
VRR Essen Hbf
VRR2 Essen Hbf
VRR3 Essen Hbf
VVO Dresden Hbf
VVS Stuttgart Schwabstraße"

echo $checks | while read service name place; do
	echo -n "${service} ... "
	if perl -Ilib bin/efa-m -s $service $name $place > /dev/null; then
		echo OK
	fi
done
