db-ris - Interface to the DeutscheBahn online departure monitor
db-ris [-a] [-d date] [-L] [-m motlist] [-t time] [-v via] station
db-ris is an interface to the DeutscheBahn departure monitor available at http://reiseauskunft.bahn.de/bin/bhftafel.exe/dn.
It requests all departures at station (optionally filtered by date, time, route and means of transport) and lists them on stdout, similar to the big departure screens installed at most main stations.
Show arrivals instead of departures, including trains ending at the specified station. Note that this causes the output to display the start instead of the end station and -f to list all stops between start end station, not station and end.
Date to list departures for. Default: today.
Display complete routes (including arrival times) of all trains.
Set language used for additional information. Supports deutsch (default), english, italian and dutch (n).
Do not display delayed trains.
Comma-separated list of modes of transport to show/hide. Accepts the following argements:
ice InterCity Express trains ic_ec InterCity / EuroCity trains d InterRegio and similar nv "Nahverkehr", RegionalExpress and such s S-Bahn bus ferry u U-Bahn tram
You can prefix an argument with "!" to hide it. The default is
ice,ic_ec,d,nv,s. Note that -m does not replace the default, so if you only want to see S-Bahn and U-Bahn departures, you'd have to use
Time to list departures for. Default: now.
Only display trains whose route (all stations between the current stop and the destination) matches the perl regular expression regex. The match is not case-sensitive. Use '^regex$' to match a full string, but be aware that this may not work as expected.
Show version information.
Zero unless things went wrong.
There are a few character encoding problems (most notably, --via does not understand UTF-8 umlauts).
Copyright (C) 2011 by Daniel Friesel <firstname.lastname@example.org>
This program is licensed under the same terms as Perl itself.