"Fossies" - the Fresh Open Source Software Archive

Member "tzselect.8.txt" (16 Jul 2018, 3090 Bytes) of package /linux/misc/tzcode2018i.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "tzselect.8.txt": 2018e_vs_2018f.

    1 TZSELECT(8)                 System Manager's Manual                TZSELECT(8)
    2 
    3 NAME
    4        tzselect - select a timezone
    5 
    6 SYNOPSIS
    7        tzselect [ -c coord ] [ -n limit ] [ --help ] [ --version ]
    8 
    9 DESCRIPTION
   10        The tzselect program asks the user for information about the current
   11        location, and outputs the resulting timezone to standard output.  The
   12        output is suitable as a value for the TZ environment variable.
   13 
   14        All interaction with the user is done via standard input and standard
   15        error.
   16 
   17 OPTIONS
   18        -c coord
   19               Instead of asking for continent and then country and then city,
   20               ask for selection from time zones whose largest cities are
   21               closest to the location with geographical coordinates coord.
   22               Use ISO 6709 notation for coord, that is, a latitude immediately
   23               followed by a longitude.  The latitude and longitude should be
   24               signed integers followed by an optional decimal point and
   25               fraction: positive numbers represent north and east, negative
   26               south and west.  Latitudes with two and longitudes with three
   27               integer digits are treated as degrees; latitudes with four or
   28               six and longitudes with five or seven integer digits are treated
   29               as DDMM, DDDMM, DDMMSS, or DDDMMSS representing DD or DDD
   30               degrees, MM minutes, and zero or SS seconds, with any trailing
   31               fractions represent fractional minutes or (if SS is present)
   32               seconds.  The decimal point is that of the current locale.  For
   33               example, in the (default) C locale, -c +40.689-074.045 specifies
   34               40.689oN, 74.045oW, -c +4041.4-07402.7 specifies 40o41.4'N,
   35               74o2.7'W, and -c +404121-0740240 specifies 40o41'21''N,
   36               74o2'40''W.  If coord is not one of the documented forms, the
   37               resulting behavior is unspecified.
   38 
   39        -n limit
   40               When -c is used, display the closest limit locations (default
   41               10).
   42 
   43        --help Output help information and exit.
   44 
   45        --version
   46               Output version information and exit.
   47 
   48 ENVIRONMENT VARIABLES
   49        AWK    Name of a Posix-compliant awk program (default: awk).
   50 
   51        TZDIR  Name of the directory containing timezone data files (default:
   52               /usr/share/zoneinfo).
   53 
   54 FILES
   55        TZDIR/iso3166.tab
   56               Table of ISO 3166 2-letter country codes and country names.
   57 
   58        TZDIR/zone1970.tab
   59               Table of country codes, latitude and longitude, timezones, and
   60               descriptive comments.
   61 
   62        TZDIR/TZ
   63               Timezone data file for timezone TZ.
   64 
   65 EXIT STATUS
   66        The exit status is zero if a timezone was successfully obtained from
   67        the user, nonzero otherwise.
   68 
   69 SEE ALSO
   70        newctime(3), tzfile(5), zdump(8), zic(8)
   71 
   72 NOTES
   73        Applications should not assume that tzselect's output matches the
   74        user's political preferences.
   75 
   76                                                                    TZSELECT(8)