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