]> git.ipfire.org Git - thirdparty/man-pages.git/blob - man8/tzselect.8
ec5f17d3f9574c52f4ca4b4a771653ac82302ed6
[thirdparty/man-pages.git] / man8 / tzselect.8
1 .\" This page is in the public domain
2 .\"
3 .TH TZSELECT 8
4 .SH NAME
5 tzselect \- select a time zone
6 .SH SYNOPSIS
7 .B tzselect
8 .SH DESCRIPTION
9 The
10 .B tzselect
11 program asks the user for information about the current location,
12 and outputs the resulting time zone description to standard output.
13 The output is suitable as a value for the TZ environment variable.
14 .PP
15 All interaction with the user is done via standard input and standard error.
16 .SH "ENVIRONMENT VARIABLES"
17 .TP
18 \fBAWK\fP
19 Name of a Posix-compliant
20 .I awk
21 program (default:
22 .BR awk ).
23 .TP
24 \fBTZDIR\fP
25 Name of the directory containing time zone data files (default:
26 .IR /usr/share/zoneinfo ).
27 .\" or perhaps /usr/local/etc/zoneinfo in some older systems.
28 .SH FILES
29 .TP
30 \fBTZDIR\fP\fI/iso3166.tab\fP
31 Table of ISO 3166 2-letter country codes and country names.
32 .TP
33 \fBTZDIR\fP\fI/zone.tab\fP
34 Table of country codes, latitude and longitude, TZ values, and
35 descriptive comments.
36 .TP
37 \fBTZDIR\fP\fI/\fP\fITZ\fP
38 Time zone data file for time zone \fITZ\fP.
39 .SH "EXIT STATUS"
40 The exit status is zero if a time zone was successfully obtained
41 from the user, non-zero otherwise.
42 .SH "SEE ALSO"
43 .BR tzfile (5),
44 .BR zdump (8),
45 .BR zic (8)
46 .\" @(#)tzselect.8 1.3