2004-11-03 13:51:07 +00:00
|
|
|
.TH TZSELECT 8
|
|
|
|
.SH NAME
|
|
|
|
tzselect \- select a time zone
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.B tzselect
|
|
|
|
.SH DESCRIPTION
|
|
|
|
The
|
|
|
|
.B tzselect
|
|
|
|
program asks the user for information about the current location,
|
|
|
|
and outputs the resulting time zone description to standard output.
|
|
|
|
The output is suitable as a value for the TZ environment variable.
|
|
|
|
.PP
|
|
|
|
All interaction with the user is done via standard input and standard error.
|
|
|
|
.SH "ENVIRONMENT VARIABLES"
|
|
|
|
.TP
|
|
|
|
\fBAWK\fP
|
|
|
|
Name of a Posix-compliant
|
|
|
|
.I awk
|
|
|
|
program (default:
|
|
|
|
.BR awk ).
|
|
|
|
.TP
|
|
|
|
\fBTZDIR\fP
|
|
|
|
Name of the directory containing time zone data files (default:
|
2005-04-14 08:49:43 +00:00
|
|
|
.IR /usr/share/zoneinfo ).
|
|
|
|
.\" or perhaps /usr/local/etc/zoneinfo in some older systems.
|
2004-11-03 13:51:07 +00:00
|
|
|
.SH FILES
|
|
|
|
.TP
|
|
|
|
\fBTZDIR\fP\fI/iso3166.tab\fP
|
|
|
|
Table of ISO 3166 2-letter country codes and country names.
|
|
|
|
.TP
|
|
|
|
\fBTZDIR\fP\fI/zone.tab\fP
|
|
|
|
Table of country codes, latitude and longitude, TZ values, and
|
|
|
|
descriptive comments.
|
|
|
|
.TP
|
|
|
|
\fBTZDIR\fP\fI/\fP\fITZ\fP
|
|
|
|
Time zone data file for time zone \fITZ\fP.
|
|
|
|
.SH "EXIT STATUS"
|
2005-06-15 13:32:34 +00:00
|
|
|
The exit status is zero if a time zone was successfully obtained
|
|
|
|
from the user, non-zero otherwise.
|
2004-11-03 13:51:07 +00:00
|
|
|
.SH "SEE ALSO"
|
|
|
|
.BR tzfile (5),
|
|
|
|
.BR zdump (8),
|
|
|
|
.BR zic (8)
|
|
|
|
.\" @(#)tzselect.8 1.3
|