list-train-times
NAME
list-train-times - extract info from http://jp.transinfo.qld.gov.au/
SYNOPSIS
list-train-times [ --to Station ] [ --from Station ] [ --w3m ] [ --nosummary ]
list-train-times [ --man | --help ]
DESCRIPTION
This program extracts data from the TransInfo Journey Planner website, http://jp.transinfo.qld.gov.au/, and either sends it to w3m for a pretty display or produces a short summary, for example,
$ list-train-times Trains Dutton Park to Central after 8:00pm 8:07pm Ferny Grove 8:37pm Ferny Grove 9:07pm Ferny Grove 9:37pm Ferny Grove
OPTIONS
- --from=<station> =item --to=<station>
-
Override the internal guesswork with stations on the Queensland Rail network.
- --w3m
-
Send the results page through to w3m for a pretty display.
- --nosummary
-
Do not produce the summary.
- --man
-
Print the manual page and exit.
- --help
-
Print a brief help message and exit.
EXIT CODES
If this program exits with a zero exit status and the correct output is on standard output. Nothing else is ever printed to standard output.
This program will exit with a non-zero exit status if there was a fatal error. Both fatal and non-fatal errors will cause output on standard error.
VERSION
$Id: list-train-times.html,v 1.3 2017/01/11 01:40:39 suter Exp $
AUTHOR and COPYRIGHT
Copyright (C) 2003 Mark Suter <suter@humbug.org.au>
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA or from the following webpage.
http://www.gnu.org/licenses/gpl.txt