Skip to contentSkip to conversation

locale.1: update for 104511

PATCH Applied Marko Myllynen 3 participants 4 messages Jan 18, 2016 – Feb 1, 2016 3 messages not in the archive Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

Addresses https://bugzilla.kernel.org/show_bug.cgi?id=104511.

---
 man1/locale.1 | 4 ++++
 1 file changed, 4 insertions(+)
man1/locale.1 +4 -0
index c10355f..505191d 100644
@@ -162,6 +162,10 @@ $ \fBlocale \-ck date_fmt\fP
 LC_TIME
 date_fmt="%a %b %e %H:%M:%S %Z %Y"
 
+$ \fBlocale -c charmap\fP
+LC_CTYPE
+UTF-8
+
 $ \fBlocale LC_TELEPHONE\fP
 +%c (%a) %l
 (%a) %l

Thanks,

Signature · 5 lines
Marko Myllynen
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#2 lore raw
In reply to a message not in the archive
Quoted 11 lines · Marko Myllynen

Addresses https://bugzilla.kernel.org/show_bug.cgi?id=104511.

---
 man1/locale.1 | 4 ++++
 1 file changed, 4 insertions(+)
man1/locale.1 +0 -0
index c10355f..505191d 100644

man1/locale.1 $ \fBlocale \-ck date_fmt\fP · line 168

Quoted 7 lines
man1/locale.1 +4 -0
@@ -162,6 +162,10 @@ $ \fBlocale \-ck date_fmt\fP
 LC_TIME
 date_fmt="%a %b %e %H:%M:%S %Z %Y"
 
+$ \fBlocale -c charmap\fP
+LC_CTYPE
+UTF-8
+

I think this needs a comment that it shows the charset, or something like

For example, the keyword
.B charmap
causes
.BR locale (1)
to display the character set for the locale.

Florian

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#4 lore raw
In reply to a message not in the archive

Hi,

Quoted 22 lines · Florian Weimer
Quoted 11 lines · Marko Myllynen

Addresses https://bugzilla.kernel.org/show_bug.cgi?id=104511.

---
 man1/locale.1 | 4 ++++
 1 file changed, 4 insertions(+)
man1/locale.1 +0 -0
index c10355f..505191d 100644

man1/locale.1 $ \fBlocale \-ck date_fmt\fP · line 168

Quoted 7 lines
man1/locale.1 +4 -0
@@ -162,6 +162,10 @@ $ \fBlocale \-ck date_fmt\fP
 LC_TIME
 date_fmt="%a %b %e %H:%M:%S %Z %Y"
 
+$ \fBlocale -c charmap\fP
+LC_CTYPE
+UTF-8
+

I think this needs a comment that it shows the charset, or something like

Quoted 5 lines

For example, the keyword
.B charmap
causes
.BR locale (1)
to display the character set for the locale.

Fair enough, how about this?

Addresses https://bugzilla.kernel.org/show_bug.cgi?id=104511.

---
 man1/locale.1 | 2 ++
 1 file changed, 2 insertions(+)
man1/locale.1 +2 -0
index c10355f..a1cdfd8 100644
@@ -65,6 +65,8 @@ metadata about each locale to be included in the output.
 .TP
 .BR \-m ", " \-\-charmaps
 Display the available charmaps (character set description files).
+To display the current character set for the locale, use
+\fBlocale -c charmap\fR.
 .PP
 The
 .B locale

Thanks,

Signature · 5 lines
Marko Myllynen
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#6 lore raw
In reply to a message not in the archive
Quoted 31 lines · Marko Myllynen

Hi,

Quoted 22 lines · Florian Weimer
Quoted 11 lines · Marko Myllynen

Addresses https://bugzilla.kernel.org/show_bug.cgi?id=104511.

---
 man1/locale.1 | 4 ++++
 1 file changed, 4 insertions(+)
man1/locale.1 +0 -0
index c10355f..505191d 100644

man1/locale.1 $ \fBlocale \-ck date_fmt\fP · line 168

Quoted 7 lines
man1/locale.1 +4 -0
@@ -162,6 +162,10 @@ $ \fBlocale \-ck date_fmt\fP
 LC_TIME
 date_fmt="%a %b %e %H:%M:%S %Z %Y"
 
+$ \fBlocale -c charmap\fP
+LC_CTYPE
+UTF-8
+

I think this needs a comment that it shows the charset, or something like

Quoted 5 lines

For example, the keyword
.B charmap
causes
.BR locale (1)
to display the character set for the locale.

Quoted 4 lines

Fair enough, how about this?

Addresses https://bugzilla.kernel.org/show_bug.cgi?id=104511.

Applied. Thanks, Marko.

Cheers,

Michael

Quoted 20 lines
---
 man1/locale.1 | 2 ++
 1 file changed, 2 insertions(+)
man1/locale.1 +2 -0
index c10355f..a1cdfd8 100644
@@ -65,6 +65,8 @@ metadata about each locale to be included in the output.
 .TP
 .BR \-m ", " \-\-charmaps
 Display the available charmaps (character set description files).
+To display the current character set for the locale, use
+\fBlocale -c charmap\fR.
 .PP
 The
 .B locale

Thanks,

Signature · 7 lines
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html