Skip to content
Snippets Groups Projects
Commit b9409252 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

add check-efa-urls helper script

parent 68cdb0db
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env zsh
export PERL5LIB=lib
IFS=','
checks="BSVG,Braunschweig,Hbf,Volkmarode,Moorhüttenweg
DING,Ulm,Hbf,Ulm,Theodor-Heuss-Platz
KVV,Karlsruhe,Hbf,Karlsruhe,Tivoli
LinzAG,Linz,Hbf,Linz,Hart
MVV,München,Hackerbrücke,München,Seeholzenweg
NVBW,Stuttgart,Brendle (Großmarkt),Stuttgart,Schwabstraße
SVV,Salzburg,Hbf,Salzburg,Mirabellplatz
TLEM,London,Waterloo Underground Station,London,St Pancras Way
VAG,Schallstadt,Bf,Freiburg im Breisgau,Hbf
VBL,Luzern,Bf,Luzern,Brüggligasse
Verbundlinie,Graz,Hbf,Graz,Mariatrost
VGN,Nürnberg,Hbf,Nürnberg,Messe
VMV,Schwerin,Hbf,Schwerin,Dreescher Markt
VOR,Wien,Hbf,Wien,Praterstern
VRN,Mannheim,Hbf,Ludwigshafen (Rhein),Hbf
VRR,Essen,Hbf,Essen,Rüttenscheider Stern
VRR2,Essen,Hbf,Essen,Rüttenscheider Stern
VVO,Dresden,Hbf,Dresden,Altmarkt
VVS,Stuttgart,Brendle (Großmarkt),Stuttgart,Schwabstraße"
echo $checks | while read service from_name from_place to_name to_place; do
echo -n "${service} ... "
if bin/efa -s $service $from_name $from_place $to_name $to_place > /dev/null; then
echo OK
fi
done
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment