summaryrefslogtreecommitdiff
path: root/scripts/check-efa-urls
blob: 95314c03ed9a9a2336dfc6bf6c7db5b741c68f8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/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