bug-coreutils
[Top][All Lists]
Advanced

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

bug#16459: groups to use a selectable separator or to encode group names


From: Bernhard Voelker
Subject: 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





reply via email to

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