File: tzcoord.pl.1

package info (click to toggle)
xplanet 0.94-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 2,624 kB
  • ctags: 1,191
  • sloc: cpp: 9,466; ansic: 6,375; sh: 2,065; makefile: 380; perl: 55
file content (51 lines) | stat: -rw-r--r-- 1,446 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
.TH TZCOORD.PL 1
.\" NAME should be all caps, SECTION should be 1-8, maybe w/ subsection
.\" other parms are allowed: see man(7), man(1)
.SH NAME
tzcoord.pl \- script that prints coordinates of a named timezone
.SH SYNOPSIS
.B tzcoord.pl
.I timezone
[
.I zone data file
]
.SH "DESCRIPTION"
.\"This manual page documents briefly the 
.\".BR tzcoord.pl
.\"script.
.\"This manual page was written for the Debian GNU/Linux distribution
.\"because the original program does not have a manual page.
.\".PP
.B tzcoord.pl
prints coordinates of a named timezone in the same
format that xplanet (see 
.BR xplanet(1)
manual page) uses in the
arguments of its "-longitude" and "-latitude" options.

The first argument is a substring matching the name field of the
file. Matching of the named timezone is done case insensitively.

The optional second argument is the path to the zone.tab file. If
omitted, the script searches the file /usr/share/zoneinfo/zone.tab.

The output will be formatted according to the current locale
settings.

.SH EXAMPLES
.nf
$ tzcoord.pl Europe/Berlin
-lon 13.37 -lat 52.50
$ LC_ALL=de_DE; export LC_ALL
$ tzcoord.pl Europe/Berlin
-lon 13,37 -lat 52,50
$ xplanet `tzcoord.pl Europe/Berlin`

.SH SEE ALSO
xplanet(1)

.SH AUTHOR
.B tzcoord.pl 
was written by Marcus Harnisch <marcus.harnisch@gmx.net>. This manual
page was written by Gopal Narayanan <gopal@debian.org>, for the Debian
GNU/Linux system (but may be used by others).