Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/gettext Add missing .El and other minor fixes.



details:   https://anonhg.NetBSD.org/src/rev/eb0719b026f5
branches:  trunk
changeset: 338674:eb0719b026f5
user:      wiz <wiz%NetBSD.org@localhost>
date:      Wed Jun 03 14:38:38 2015 +0000

description:
Add missing .El and other minor fixes.

diffstat:

 usr.bin/gettext/gettext.1 |  19 +++++++++++--------
 1 files changed, 11 insertions(+), 8 deletions(-)

diffs (65 lines):

diff -r 82543a703af7 -r eb0719b026f5 usr.bin/gettext/gettext.1
--- a/usr.bin/gettext/gettext.1 Wed Jun 03 14:32:16 2015 +0000
+++ b/usr.bin/gettext/gettext.1 Wed Jun 03 14:38:38 2015 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: gettext.1,v 1.1 2015/06/03 14:32:17 christos Exp $
+.\"    $NetBSD: gettext.1,v 1.2 2015/06/03 14:38:38 wiz Exp $
 .\"
 .\" Copyright (c) 2015 William Orr <will%worrbase.com@localhost>,
 .\" All rights reserved.
@@ -40,7 +40,7 @@
 .Nm
 .Fl s
 .Op Fl n
-.Op Ar msgid...
+.Op Ar msgid ...
 .Sh DESCRIPTION
 .Nm
 attempts to translate a given
@@ -53,7 +53,7 @@
 If the
 .Ar textdomain
 is not provided as an argument, the
-.Ev textdomain
+.Ev TEXTDOMAIN
 environment variable will be consulted instead.
 .Pp
 By default
@@ -73,7 +73,8 @@
 .It Fl n
 If
 .Fl s
-is used, do not add the trailing newline. If
+is used, do not add the trailing newline.
+If
 .Fl s
 is not provided, this flag will do nothing.
 .It Fl s
@@ -83,14 +84,16 @@
 .Ar msgid
 arguments will be translated, and a newline will be appended to the output
 string.
+.El
 .Sh ENVIRONMENT
 .Bl -tag -width Ds
 .It Ev TEXTDOMAIN
 The domain to use when looking up
-.Ar msgids
+.Ar msgids .
 .It Ev TEXTDOMAINDIR
 The location of message catalogs to use, overriding
-.Pa /usr/share/locale
+.Pa /usr/share/locale .
+.El
 .Sh EXIT STATUS
 .Ex -std
 .Sh EXAMPLES
@@ -99,6 +102,6 @@
 escribiendo el resultado
 .Ed
 .Sh SEE ALSO
-.Xr gettext 3
-.Xr echo 1
+.Xr echo 1 ,
+.Xr gettext 3 ,
 .Xr environ 7



Home | Main Index | Thread Index | Old Index