~ubuntu-branches/ubuntu/warty/xplanet/warty

« back to all changes in this revision

Viewing changes to tzcoord.pl.1

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones
  • Date: 2004-08-24 07:14:00 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040824071400-2dr4qnjbjmm8z3ia
Tags: 1.0.6-1ubuntu1
Build-depend: libtiff4-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.TH TZCOORD.PL 1
2
 
.\" NAME should be all caps, SECTION should be 1-8, maybe w/ subsection
3
 
.\" other parms are allowed: see man(7), man(1)
4
 
.SH NAME
5
 
tzcoord.pl \- script that prints coordinates of a named timezone
6
 
.SH SYNOPSIS
7
 
.B tzcoord.pl
8
 
.I timezone
9
 
[
10
 
.I zone data file
11
 
]
12
 
.SH "DESCRIPTION"
13
 
.\"This manual page documents briefly the 
14
 
.\".BR tzcoord.pl
15
 
.\"script.
16
 
.\"This manual page was written for the Debian GNU/Linux distribution
17
 
.\"because the original program does not have a manual page.
18
 
.\".PP
19
 
.B tzcoord.pl
20
 
prints coordinates of a named timezone in the same
21
 
format that xplanet (see 
22
 
.BR xplanet(1)
23
 
manual page) uses in the
24
 
arguments of its "-longitude" and "-latitude" options.
25
 
 
26
 
The first argument is a substring matching the name field of the
27
 
file. Matching of the named timezone is done case insensitively.
28
 
 
29
 
The optional second argument is the path to the zone.tab file. If
30
 
omitted, the script searches the file /usr/share/zoneinfo/zone.tab.
31
 
 
32
 
The output will be formatted according to the current locale
33
 
settings.
34
 
 
35
 
.SH EXAMPLES
36
 
.nf
37
 
$ tzcoord.pl Europe/Berlin
38
 
-lon 13.37 -lat 52.50
39
 
$ LC_ALL=de_DE; export LC_ALL
40
 
$ tzcoord.pl Europe/Berlin
41
 
-lon 13,37 -lat 52,50
42
 
$ xplanet `tzcoord.pl Europe/Berlin`
43
 
 
44
 
.SH SEE ALSO
45
 
xplanet(1)
46
 
 
47
 
.SH AUTHOR
48
 
.B tzcoord.pl 
49
 
was written by Marcus Harnisch <marcus.harnisch@gmx.net>. This manual
50
 
page was written by Gopal Narayanan <gopal@debian.org>, for the Debian
51
 
GNU/Linux system (but may be used by others).