emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#16459: closed (groups to use a selectable separato


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#16459: closed (groups to use a selectable separator or to encode group names with spaces)
Date: Wed, 15 Jan 2014 23:35:02 +0000

Your message dated Thu, 16 Jan 2014 00:34:48 +0100
with message-id <address@hidden>
and subject line Re: bug#16459: groups to use a selectable separator or to 
encode group names with spaces
has caused the debbugs.gnu.org bug report #16459,
regarding groups to use a selectable separator or to encode group names with 
spaces
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
16459: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16459
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: groups to use a selectable separator or to encode group names with spaces Date: Wed, 15 Jan 2014 21:38:19 +0000
Hi,

When using groups on Cygwin, I get the following output:

$ groups
Domain Users Remote Desktop Users Users NCBIusers

where all words are separated from each other with single spaces,
resulting for example the two-word group "Domain Users" undistinguishable
from two groups, "Domain" and "Users", and making it unsuitable for scripting.

Compare:

$ id
uid=11111(lavr) gid=10513(Domain Users) groups=10513(Domain Users),555(Remote 
Desktop Users),545(Users),1009(NCBIusers)

Suggested is either to have an option (cf. -z for "id") to separate the groups
on output (alternatively, have them quoted) or to encode the space (and
perhaps all other "irregularities" that are encountered within the name) such
that the group names remain single tokens, e.g. Domain%20Users.

Thanks for considering this,

Anton Lavrentiev
Contractor NIH/NLM/NCBI




--- End Message ---
--- Begin Message --- Subject: Re: bug#16459: groups to use a selectable separator or to encode group names with spaces Date: Thu, 16 Jan 2014 00:34:48 +0100 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
tag 16459 notabug
close
thanks

On 01/15/2014 10:38 PM, Lavrentiev, Anton (NIH/NLM/NCBI) [C] wrote:
> Hi,

Thanks for the report, however ...

> When using groups on Cygwin, I get the following output:

... you reached the upstream coreutils development list while you
are using groups(1) and id(1) from Cygwin (where the version of
coreutils seems to be rather outdated, unfortunately).
Did you try on the cygwin (developers?) mailing list?

> $ groups
> Domain Users Remote Desktop Users Users NCBIusers
> 
> where all words are separated from each other with single spaces,
> resulting for example the two-word group "Domain Users" undistinguishable
> from two groups, "Domain" and "Users", and making it unsuitable for scripting.
> 
> Compare:
> 
> $ id
> uid=11111(lavr) gid=10513(Domain Users) groups=10513(Domain Users),555(Remote 
> Desktop Users),545(Users),1009(NCBIusers)
> 
> Suggested is either to have an option (cf. -z for "id") to separate the groups
> on output [...]

But you're in luck ... at least half-way: we added support for
"id -z,--zero" in version 8.22 which has been released just last
December by this commit:
  http://git.sv.gnu.org/cgit/coreutils.git/commit/?id=2a0d241f6
However, I have no idea when 8.22 will be available on Cygwin.

As there's nothing we can do upstreams, I'm marking this as "not a bug"
and set the status to closed.

Have a nice day,
Berny


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]