]> git.ipfire.org Git - thirdparty/man-pages.git/blobdiff - man8/zic.8
close.2: Place discussion of error handling under a subheading in NOTES
[thirdparty/man-pages.git] / man8 / zic.8
index a06ac78a192daeb6909bd2c648b4aabacb4abca1..b38e2b9fad7c1ff7b2fda62f22717f87110ac8db 100644 (file)
@@ -1,6 +1,8 @@
+.\" %%%LICENSE_START(PUBLIC_DOMAIN)
 .\" This page is in the public domain
+.\" %%%LICENSE_END
 .\"
-.TH ZIC 8 2007-05-18 "" "Linux System Administration"
+.TH ZIC 8 2010-02-25 "" "Linux System Administration"
 .SH NAME
 zic \- timezone compiler
 .SH SYNOPSIS
@@ -151,7 +153,7 @@ Gives the type of year in which the rule applies.
 If
 .B TYPE
 is
-.B \-
+.BR \- ,
 then the rule applies in all years between
 .B FROM
 and
@@ -163,7 +165,9 @@ is something else, then
 .I zic
 executes the command
 .ti +.5i
-\fByearistype\fP \fIyear\fP \fItype\fP
+.B yearistype
+.I year
+.I type
 .br
 to check the type of a year:
 an exit status of zero is taken to mean that the year is of the given type;
@@ -260,8 +264,8 @@ A zone line has the form
 .sp
 .nf
 .ti +.5i
-.ta \w'Zone\0\0'u +\w'Australia/Adelaide\0\0'u +\w'GMTOFF\0\0'u +\w'RULES/SAVE\0\0'u +\w'FORMAT\0\0'u
-Zone   NAME    GMTOFF  RULES/SAVE      FORMAT  [UNTIL]
+.ta \w'Zone\0\0'u +\w'Australia/Adelaide\0\0'u +\w'UTCOFF\0\0'u +\w'RULES/SAVE\0\0'u +\w'FORMAT\0\0'u
+Zone   NAME    UTCOFF  RULES/SAVE      FORMAT  [UNTIL]
 .sp
 For example:
 .sp
@@ -270,13 +274,13 @@ Zone      Australia/Adelaide      9:30    Aus     CST     1971 Oct 31 2:00
 .sp
 .fi
 The fields that make up a zone line are:
-.TP "\w'GMTOFF'u"
+.TP "\w'UTCOFF'u"
 .B NAME
 The name of the timezone.
 This is the name used in creating the time conversion information file for the
 zone.
 .TP
-.B GMTOFF
+.B UTCOFF
 The amount of time to add to UTC to get standard time in this zone.
 This field has the same format as the
 .B AT
@@ -289,7 +293,7 @@ begin the field with a minus sign if time must be subtracted from UTC.
 The name of the rule(s) that apply in the timezone or,
 alternately, an amount of time to add to local standard time.
 If this field is
-.B \-
+.BR \- ,
 then standard time always applies in the timezone.
 .TP
 .B FORMAT
@@ -404,14 +408,16 @@ or
 if the leap second time given by the other fields should be interpreted as
 local wall clock time.
 .SH FILES
-/usr/local/etc/zoneinfo        standard directory used for created files
+.TP
+.I /usr/local/etc/zoneinfo
+Standard directory used for created files.
 .SH NOTES
 For areas with more than two types of local time,
 you may need to use local standard time in the
 .B AT
 field of the earliest transition time's rule to ensure that
 the earliest transition time recorded in the compiled file is correct.
-.SH "SEE ALSO"
+.SH SEE ALSO
 .BR tzfile (5),
 .BR zdump (8)
 .\" @(#)zic.8  7.19