public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug localedata/18516] New: Inconsistent output
@ 2015-06-11  3:53 sworddragon2 at aol dot com
  2015-06-11  4:35 ` [Bug localedata/18516] " carlos at redhat dot com
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: sworddragon2 at aol dot com @ 2015-06-11  3:53 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=18516

            Bug ID: 18516
           Summary: Inconsistent output
           Product: glibc
           Version: 2.21
            Status: NEW
          Severity: normal
          Priority: P2
         Component: localedata
          Assignee: unassigned at sourceware dot org
          Reporter: sworddragon2 at aol dot com
                CC: libc-locales at sourceware dot org
  Target Milestone: ---

If I'm executing the command locale I'm noticing that the most entries are
around a double quote while some are not. On my tests it looks like that values
which are defined on an environment variable aren't quoted while implied values
are. At least I couldn't find something in the manpage about it and if this
behavior is intended it should maybe get documented.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug localedata/18516] Inconsistent output
  2015-06-11  3:53 [Bug localedata/18516] New: Inconsistent output sworddragon2 at aol dot com
@ 2015-06-11  4:35 ` carlos at redhat dot com
  2015-06-11  4:40 ` sworddragon2 at aol dot com
                   ` (12 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: carlos at redhat dot com @ 2015-06-11  4:35 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=18516

Carlos O'Donell <carlos at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING
                 CC|                            |carlos at redhat dot com

--- Comment #1 from Carlos O'Donell <carlos at redhat dot com> ---
(In reply to sworddragon2 from comment #0)
> If I'm executing the command locale I'm noticing that the most entries are
> around a double quote while some are not. On my tests it looks like that
> values which are defined on an environment variable aren't quoted while
> implied values are. At least I couldn't find something in the manpage about
> it and if this behavior is intended it should maybe get documented.

Please provide more details. Exactly what you're seeing and what you expect and
why.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug localedata/18516] Inconsistent output
  2015-06-11  3:53 [Bug localedata/18516] New: Inconsistent output sworddragon2 at aol dot com
  2015-06-11  4:35 ` [Bug localedata/18516] " carlos at redhat dot com
@ 2015-06-11  4:40 ` sworddragon2 at aol dot com
  2015-06-12  2:03 ` carlos at redhat dot com
                   ` (11 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: sworddragon2 at aol dot com @ 2015-06-11  4:40 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=18516

sworddragon2 at aol dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |UNCONFIRMED
     Ever confirmed|1                           |0

--- Comment #2 from sworddragon2 at aol dot com ---
Here is the output:

sworddragon@ubuntu:~$ locale
LANG=de_DE.UTF-8
LANGUAGE=
LC_CTYPE="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_COLLATE="de_DE.UTF-8"
LC_MONETARY="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_PAPER="de_DE.UTF-8"
LC_NAME="de_DE.UTF-8"
LC_ADDRESS="de_DE.UTF-8"
LC_TELEPHONE="de_DE.UTF-8"
LC_MEASUREMENT="de_DE.UTF-8"
LC_IDENTIFICATION="de_DE.UTF-8"
LC_ALL=


As you can see some entries are quoted and some not but I can't find anything
in the manpage about it.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug localedata/18516] Inconsistent output
  2015-06-11  3:53 [Bug localedata/18516] New: Inconsistent output sworddragon2 at aol dot com
  2015-06-11  4:35 ` [Bug localedata/18516] " carlos at redhat dot com
  2015-06-11  4:40 ` sworddragon2 at aol dot com
@ 2015-06-12  2:03 ` carlos at redhat dot com
  2015-06-12  3:54 ` bugdal at aerifal dot cx
                   ` (10 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: carlos at redhat dot com @ 2015-06-12  2:03 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=18516

Carlos O'Donell <carlos at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-06-12
                 CC|                            |bugdal at aerifal dot cx
     Ever confirmed|0                           |1
              Flags|                            |review?(bugdal at aerifal dot cx)

--- Comment #3 from Carlos O'Donell <carlos at redhat dot com> ---
(In reply to sworddragon2 from comment #2)
> Here is the output:
> 
> sworddragon@ubuntu:~$ locale
> LANG=de_DE.UTF-8
> LANGUAGE=
> LC_CTYPE="de_DE.UTF-8"
> LC_NUMERIC="de_DE.UTF-8"
> LC_TIME="de_DE.UTF-8"
> LC_COLLATE="de_DE.UTF-8"
> LC_MONETARY="de_DE.UTF-8"
> LC_MESSAGES="de_DE.UTF-8"
> LC_PAPER="de_DE.UTF-8"
> LC_NAME="de_DE.UTF-8"
> LC_ADDRESS="de_DE.UTF-8"
> LC_TELEPHONE="de_DE.UTF-8"
> LC_MEASUREMENT="de_DE.UTF-8"
> LC_IDENTIFICATION="de_DE.UTF-8"
> LC_ALL=
> 
> 
> As you can see some entries are quoted and some not but I can't find
> anything in the manpage about it.

The glibc code in question consciously chooses not to output quotes, but I
don't know why. It really doesn't matter.

Rich, Any thoughts on why this would be the case? I can't see anything in POSIX
that would require no quotes around say LANG, but glibc consciously calls some
internal functions to print with the dquote flag set to false.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug localedata/18516] Inconsistent output
  2015-06-11  3:53 [Bug localedata/18516] New: Inconsistent output sworddragon2 at aol dot com
                   ` (2 preceding siblings ...)
  2015-06-12  2:03 ` carlos at redhat dot com
@ 2015-06-12  3:54 ` bugdal at aerifal dot cx
  2015-06-12 13:35 ` myllynen at redhat dot com
                   ` (9 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugdal at aerifal dot cx @ 2015-06-12  3:54 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=18516

--- Comment #4 from Rich Felker <bugdal at aerifal dot cx> ---
This is not a bug; it is the behavior specified. See the STDOUT section of the
specification for the locale command:

http://pubs.opengroup.org/onlinepubs/9699919799/utilities/locale.html

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug localedata/18516] Inconsistent output
  2015-06-11  3:53 [Bug localedata/18516] New: Inconsistent output sworddragon2 at aol dot com
                   ` (3 preceding siblings ...)
  2015-06-12  3:54 ` bugdal at aerifal dot cx
@ 2015-06-12 13:35 ` myllynen at redhat dot com
  2015-06-12 14:02 ` carlos at redhat dot com
                   ` (8 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: myllynen at redhat dot com @ 2015-06-12 13:35 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=18516

Marko Myllynen <myllynen at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |myllynen at redhat dot com

--- Comment #5 from Marko Myllynen <myllynen at redhat dot com> ---
Rich, thanks for the pointer, I've just sent a patch to clarify this on the
locale(1) man page as well:

http://marc.info/?l=linux-man&m=143411592031461&w=2

Thanks.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug localedata/18516] Inconsistent output
  2015-06-11  3:53 [Bug localedata/18516] New: Inconsistent output sworddragon2 at aol dot com
                   ` (4 preceding siblings ...)
  2015-06-12 13:35 ` myllynen at redhat dot com
@ 2015-06-12 14:02 ` carlos at redhat dot com
  2015-06-12 14:06 ` bugdal at aerifal dot cx
                   ` (7 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: carlos at redhat dot com @ 2015-06-12 14:02 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=18516

Carlos O'Donell <carlos at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #6 from Carlos O'Donell <carlos at redhat dot com> ---
Rich,

Thanks. I certainly feel like an idiot having missed that whole section on why
the quoting is the way it is. Thanks for the pointer.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug localedata/18516] Inconsistent output
  2015-06-11  3:53 [Bug localedata/18516] New: Inconsistent output sworddragon2 at aol dot com
                   ` (5 preceding siblings ...)
  2015-06-12 14:02 ` carlos at redhat dot com
@ 2015-06-12 14:06 ` bugdal at aerifal dot cx
  2015-06-13  7:51 ` sworddragon2 at aol dot com
                   ` (6 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugdal at aerifal dot cx @ 2015-06-12 14:06 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=18516

--- Comment #7 from Rich Felker <bugdal at aerifal dot cx> ---
No problem. It's a bit confusing that the normative text on output format is
down in the "STDOUT" section rather than in the description; I just happened to
be familiar with that convention from seeing it a lot before.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug localedata/18516] Inconsistent output
  2015-06-11  3:53 [Bug localedata/18516] New: Inconsistent output sworddragon2 at aol dot com
                   ` (6 preceding siblings ...)
  2015-06-12 14:06 ` bugdal at aerifal dot cx
@ 2015-06-13  7:51 ` sworddragon2 at aol dot com
  2015-06-13 15:21 ` bugdal at aerifal dot cx
                   ` (5 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: sworddragon2 at aol dot com @ 2015-06-13  7:51 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=18516

--- Comment #8 from sworddragon2 at aol dot com ---
I'm now just wondering why this ticket got marked as INVALID while it actually
contains a patch.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug localedata/18516] Inconsistent output
  2015-06-11  3:53 [Bug localedata/18516] New: Inconsistent output sworddragon2 at aol dot com
                   ` (7 preceding siblings ...)
  2015-06-13  7:51 ` sworddragon2 at aol dot com
@ 2015-06-13 15:21 ` bugdal at aerifal dot cx
  2015-06-13 15:28 ` alexandre at objectdata dot com.br
                   ` (4 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugdal at aerifal dot cx @ 2015-06-13 15:21 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=18516

--- Comment #9 from Rich Felker <bugdal at aerifal dot cx> ---
It's invalid because it's not a bug. The current behavior is correct.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug localedata/18516] Inconsistent output
  2015-06-11  3:53 [Bug localedata/18516] New: Inconsistent output sworddragon2 at aol dot com
                   ` (8 preceding siblings ...)
  2015-06-13 15:21 ` bugdal at aerifal dot cx
@ 2015-06-13 15:28 ` alexandre at objectdata dot com.br
  2015-06-15  9:24 ` sworddragon2 at aol dot com
                   ` (3 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: alexandre at objectdata dot com.br @ 2015-06-13 15:28 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=18516

--- Comment #10 from alexandre at objectdata dot com.br ---
K kk , mas  w 2 w q ww aaaq   c5e6cwccccsccrwc cccscxwcc3 cc4
Em 13/06/2015 11:10, "carlos at redhat dot com" <
sourceware-bugzilla@sourceware.org> escreveu:

> https://sourceware.org/bugzilla/show_bug.cgi?id=18516
>
> Carlos O'Donell <carlos at redhat dot com> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>              Status|NEW                         |RESOLVED
>          Resolution|---                         |INVALID
>
> --- Comment #6 from Carlos O'Donell <carlos at redhat dot com> ---
> Rich,
>
> Thanks. I certainly feel like an idiot having missed that whole section on
> why
> the quoting is the way it is. Thanks for the pointer.
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.
>

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug localedata/18516] Inconsistent output
  2015-06-11  3:53 [Bug localedata/18516] New: Inconsistent output sworddragon2 at aol dot com
                   ` (9 preceding siblings ...)
  2015-06-13 15:28 ` alexandre at objectdata dot com.br
@ 2015-06-15  9:24 ` sworddragon2 at aol dot com
  2015-06-15  9:37 ` myllynen at redhat dot com
                   ` (2 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: sworddragon2 at aol dot com @ 2015-06-15  9:24 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=18516

--- Comment #11 from sworddragon2 at aol dot com ---
(In reply to Rich Felker from comment #9)
> It's invalid because it's not a bug. The current behavior is correct.

Well, it was an issue with the manpage as pointed as a possibility in the
startpost (otherwise if this ticket is INVALID there should not be a patch
required). But at the end this shouldn't matter that much as long as this issue
gets fixed with the patch.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug localedata/18516] Inconsistent output
  2015-06-11  3:53 [Bug localedata/18516] New: Inconsistent output sworddragon2 at aol dot com
                   ` (10 preceding siblings ...)
  2015-06-15  9:24 ` sworddragon2 at aol dot com
@ 2015-06-15  9:37 ` myllynen at redhat dot com
  2015-06-15 10:32 ` sworddragon2 at aol dot com
  2015-10-01 12:49 ` fweimer at redhat dot com
  13 siblings, 0 replies; 15+ messages in thread
From: myllynen at redhat dot com @ 2015-06-15  9:37 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=18516

--- Comment #12 from Marko Myllynen <myllynen at redhat dot com> ---
Man pages are not provided by glibc but in the separate Linux man pages project
so purely from glibc perspective there was nothing to be fixed in glibc. But as
you say, what actually matters is that issue gets fixed and indeed the fix is
now accepted in man-pages upstream and will be part of the next man-pages
release:

http://git.kernel.org/cgit/docs/man-pages/man-pages.git/commit/?id=ca48cef151cb3dbfd0dba281f9074c9bd2675aac

Thanks.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug localedata/18516] Inconsistent output
  2015-06-11  3:53 [Bug localedata/18516] New: Inconsistent output sworddragon2 at aol dot com
                   ` (11 preceding siblings ...)
  2015-06-15  9:37 ` myllynen at redhat dot com
@ 2015-06-15 10:32 ` sworddragon2 at aol dot com
  2015-10-01 12:49 ` fweimer at redhat dot com
  13 siblings, 0 replies; 15+ messages in thread
From: sworddragon2 at aol dot com @ 2015-06-15 10:32 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=18516

--- Comment #13 from sworddragon2 at aol dot com ---
(In reply to Marko Myllynen from comment #12)
> Man pages are not provided by glibc but in the separate Linux man pages
> project so purely from glibc perspective there was nothing to be fixed in
> glibc.

That sounds plausible, thanks for the explanation.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug localedata/18516] Inconsistent output
  2015-06-11  3:53 [Bug localedata/18516] New: Inconsistent output sworddragon2 at aol dot com
                   ` (12 preceding siblings ...)
  2015-06-15 10:32 ` sworddragon2 at aol dot com
@ 2015-10-01 12:49 ` fweimer at redhat dot com
  13 siblings, 0 replies; 15+ messages in thread
From: fweimer at redhat dot com @ 2015-10-01 12:49 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=18516

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fweimer at redhat dot com
              Flags|review?(bugdal at aerifal dot cx)  |security-

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2015-10-01 12:49 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-11  3:53 [Bug localedata/18516] New: Inconsistent output sworddragon2 at aol dot com
2015-06-11  4:35 ` [Bug localedata/18516] " carlos at redhat dot com
2015-06-11  4:40 ` sworddragon2 at aol dot com
2015-06-12  2:03 ` carlos at redhat dot com
2015-06-12  3:54 ` bugdal at aerifal dot cx
2015-06-12 13:35 ` myllynen at redhat dot com
2015-06-12 14:02 ` carlos at redhat dot com
2015-06-12 14:06 ` bugdal at aerifal dot cx
2015-06-13  7:51 ` sworddragon2 at aol dot com
2015-06-13 15:21 ` bugdal at aerifal dot cx
2015-06-13 15:28 ` alexandre at objectdata dot com.br
2015-06-15  9:24 ` sworddragon2 at aol dot com
2015-06-15  9:37 ` myllynen at redhat dot com
2015-06-15 10:32 ` sworddragon2 at aol dot com
2015-10-01 12:49 ` fweimer at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).