NAME
db-ris - Interface to the DeutscheBahn online departure monitor
SYNOPSIS
db-ris [-a] [-d date] [-L] [-m motlist] [-t time] [-v via] station
VERSION
version 1.05
DESCRIPTION
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.
OPTIONS
- -a, --arrivals
-
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.
- -d, --date dd.mm.yyyy
-
Date to list departures for. Default: today.
- -f, --full-route
-
Display complete routes (including arrival times) of all trains.
- -l, --lang d|e|i|n
-
Set language used for additional information. Supports deutsch (default), english, italian and dutch (n).
- -L, --ignore-late
-
Do not display delayed trains.
- -m, --mot motlist
-
Comma-separated list of modes of transport to show/hide. Accepts the following arguments:
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-m !ice,!ic_ec,!d,!nv,u
. - -t, --time hh:mm
-
Time to list departures for. Default: now.
- -v, --via regex
-
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.
- -V, --version
-
Show version information.
EXIT STATUS
Zero unless things went wrong.
CONFIGURATION
None.
DEPENDENCIES
Class::Accessor(3pm)
LWP::UserAgent(3pm)
XML::LibXML(3pm)
BUGS AND LIMITATIONS
There are a few character encoding problems (most notably, --via does not understand UTF-8 umlauts).
AUTHOR
Copyright (C) 2011 by Daniel Friesel <derf@finalrewind.org>
LICENSE
This program is licensed under the same terms as Perl itself.