NAME
db-ris - Interface to the DeutscheBahn online departure monitor
SYNOPSIS
db-ris [-d date] [-L] [-m motlist] [-t time] [-v via] station
VERSION
version 0.02
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
- -d, --date dd.mm.yyyy
-
Date to list departures for. Default: today.
- -L, --ignore-late
-
Do not display delayed trains.
- -m, --mot motlist
-
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 und 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.