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