diff options
author | Ruslan Ermilov <ru@FreeBSD.org> | 2004-07-02 22:22:35 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@FreeBSD.org> | 2004-07-02 22:22:35 +0000 |
commit | 6a3e8b0adc8c622ae61275a94d5d869980a68069 (patch) | |
tree | b3cdbab3d24866d3829616606f702cb5cb5d6c97 /usr.bin/gencat/gencat.1 | |
parent | f97d4ddfed9ff77e2873f938abcb1951c57fbf91 (diff) |
Mechanically kill hard sentence breaks.
Notes
Notes:
svn path=/head/; revision=131491
Diffstat (limited to 'usr.bin/gencat/gencat.1')
-rw-r--r-- | usr.bin/gencat/gencat.1 | 45 |
1 files changed, 30 insertions, 15 deletions
diff --git a/usr.bin/gencat/gencat.1 b/usr.bin/gencat/gencat.1 index 45a30271cd4e..6fffa51fd472 100644 --- a/usr.bin/gencat/gencat.1 +++ b/usr.bin/gencat/gencat.1 @@ -45,7 +45,8 @@ into a formatted message catalog file .Ar "output-file" . The file .Ar "output-file" -will be created if it does not already exist. If +will be created if it does not already exist. +If .Ar "output-file" does exist, its messages will be included in the new .Ar "output-file" . @@ -54,7 +55,8 @@ If set and message numbers collide, the new message text defined in will replace the old message text currently contained in .Ar "output-file" . .Sh INPUT FILES -The format of a message text source file is defined below. Note that +The format of a message text source file is defined below. +Note that the fields of a message text source line are separated by a single space character: any other space characters are considered to be part of the field contents. @@ -64,21 +66,27 @@ field contents. This line specifies the set identifier of the following messages until the next .Li $set -or end-of-file appears. The argument +or end-of-file appears. +The argument .Ar n is the set identifier which is defined as a number in the range -[1, (NL_SETMAX)]. Set identifiers must occur in ascending order within -a single source file, but need not be contiguous. Any string following -a space following the set identifier is treated as a comment. If no +[1, (NL_SETMAX)]. +Set identifiers must occur in ascending order within +a single source file, but need not be contiguous. +Any string following +a space following the set identifier is treated as a comment. +If no .Li $set directive is specified in a given source file, all messages will be located in the default message set NL_SETD. .It Li $del Ar n comment This line deletes messages from set .Ar n -from a message catalog. The +from a message catalog. +The .Ar n -specifies a set number. Any string following a space following the set +specifies a set number. +Any string following a space following the set number is treated as a comment. .It Li $ Ar comment A line beginning with @@ -87,7 +95,8 @@ followed by a space is treated as a comment. .It Ar m message-text A message line consists of a message identifier .Ar m -in the range [1, (NL_MSGMAX)]. The +in the range [1, (NL_MSGMAX)]. +The .Ar message-text is stored in the message catalog with the set identifier specified by the last @@ -97,13 +106,16 @@ directive, and the message identifier If the .Ar message-text is empty, and there is a space character following the message identifier, -an empty string is stored in the message catalog. If the +an empty string is stored in the message catalog. +If the .Ar message-text is empty, and if there is no space character following the message identifier, then the existing message in the current set with the -specified message identifier is deleted from the catalog. Message +specified message identifier is deleted from the catalog. +Message identifiers must be in ascending order within a single set, but -need not be contiguous. The +need not be contiguous. +The .Ar message-text length must be in the range [0, (NL_TEXTMAX)]. .It Li $quote Ar c @@ -112,19 +124,22 @@ This line specifies an optional quote character which can be used to surround .Ar message-text so that trailing space or empty messages are visible in message -source files. By default, or if an empty +source files. +By default, or if an empty .Li $quote directive is specified, no quoting of .Ar message-text will be recognized. .El .Pp -Empty lines in message source files are ignored. The effect of lines +Empty lines in message source files are ignored. +The effect of lines beginning with any character other than those described above is undefined. .Pp Text strings can contain the following special characters and escape -sequences. In addition, if a quote character is defined, it may be +sequences. +In addition, if a quote character is defined, it may be escaped as well to embed a literal quote character. .Pp .Bl -tag -width "\eooo" -offset indent -compact |