aboutsummaryrefslogtreecommitdiff
path: root/tzselect.8
diff options
context:
space:
mode:
authorPhilip Paeps <philip@FreeBSD.org>2022-08-16 07:24:21 +0000
committerPhilip Paeps <philip@FreeBSD.org>2022-08-16 07:24:21 +0000
commit9b5369d383baf54651be0922591eeb6263ce029d (patch)
treeb1cd2f21627ee78ae3e40234e7530e3a65b8c212 /tzselect.8
parent157c2da9c527cd9ebae03b07bdae90e474d5a403 (diff)
Unsplit vendor import of tzcode 2010nvendor/tzcode/unsplit
Historically, to work around CVS limitations, imports on the tzcode vendor branch were split into subdirectories, which were then merged to their respective counterparts in contrib. In the Git era, this split is unnecessary and adds more work. Undo the split for the most recent vendor import of tzcode 2010n to prepare for the vendor import of tzcode 2022c.
Diffstat (limited to 'tzselect.8')
-rw-r--r--tzselect.843
1 files changed, 43 insertions, 0 deletions
diff --git a/tzselect.8 b/tzselect.8
new file mode 100644
index 000000000000..515b0ed51bfd
--- /dev/null
+++ b/tzselect.8
@@ -0,0 +1,43 @@
+.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
+\f3AWK\fP
+Name of a Posix-compliant
+.I awk
+program (default:
+.BR awk ).
+.TP
+\f3TZDIR\fP
+Name of the directory containing time zone data files (default:
+.BR /usr/local/etc/zoneinfo ).
+.SH FILES
+.TP
+\f2TZDIR\fP\f3/iso3166.tab\fP
+Table of ISO 3166 2-letter country codes and country names.
+.TP
+\f2TZDIR\fP\f3/zone.tab\fP
+Table of country codes, latitude and longitude, TZ values, and
+descriptive comments.
+.TP
+\f2TZDIR\fP\f3/\fP\f2TZ\fP
+Time zone data file for time zone \f2TZ\fP.
+.SH "EXIT STATUS"
+The exit status is zero if a time zone was successfully obtained from the user,
+nonzero otherwise.
+.SH "SEE ALSO"
+newctime(3), tzfile(5), zdump(8), zic(8)
+.\" @(#)tzselect.8 8.2
+.\" This file is in the public domain, so clarified as of
+.\" 2009-05-17 by Arthur David Olson.