tzselect.8 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. .TH TZSELECT 8
  2. .SH NAME
  3. tzselect \- select a time zone
  4. .SH SYNOPSIS
  5. .B tzselect
  6. .SH DESCRIPTION
  7. The
  8. .B tzselect
  9. program asks the user for information about the current location,
  10. and outputs the resulting time zone description to standard output.
  11. The output is suitable as a value for the TZ environment variable.
  12. .PP
  13. All interaction with the user is done via standard input and standard error.
  14. .SH "ENVIRONMENT VARIABLES"
  15. .TP
  16. \f3AWK\fP
  17. Name of a Posix-compliant
  18. .I awk
  19. program (default:
  20. .BR awk ).
  21. .TP
  22. \f3TZDIR\fP
  23. Name of the directory containing time zone data files (default:
  24. .BR /usr/local/etc/zoneinfo ).
  25. .SH FILES
  26. .TP
  27. \f2TZDIR\fP\f3/iso3166.tab\fP
  28. Table of ISO 3166 2-letter country codes and country names.
  29. .TP
  30. \f2TZDIR\fP\f3/zone.tab\fP
  31. Table of country codes, latitude and longitude, TZ values, and
  32. descriptive comments.
  33. .TP
  34. \f2TZDIR\fP\f3/\fP\f2TZ\fP
  35. Time zone data file for time zone \f2TZ\fP.
  36. .SH "EXIT STATUS"
  37. The exit status is zero if a time zone was successfully obtained from the user,
  38. nonzero otherwise.
  39. .SH "SEE ALSO"
  40. newctime(3), tzfile(5), zdump(8), zic(8)
  41. .\" %W%
  42. .\" This file is in the public domain, so clarified as of
  43. .\" 2009-05-17 by Arthur David Olson.