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: Bob Proulx
Subject: bug#16459: groups to use a selectable separator or to encode group names with spaces
Date: Thu, 16 Jan 2014 18:44:56 -0700
User-agent: Mutt/1.5.21 (2010-09-15)

Lavrentiev, Anton (NIH/NLM/NCBI) [C] wrote:
> > It is not a bug because your suggestion is already implemented in upstream 
> > coreutils
> 
> It's implemented only for the "id" command; not for "groups", which I asked 
> about -- please note the $subject.
> Can you please consider adding the -z there as well?

The 'id -Gn' command is the standard way to get 'groups' output.  The
GNU id command already has -z added to it.  Since in order to use the
-z option you would need to actually use the -z option is there any
reason not to use it with id instead of groups?  Why request it in
'groups' if it is already available in 'id'?

  id -Gnz

When Cygwin updates they will get the -z option.  Even if it were
added to groups Cygwin would still need to update in order to have it
appear there.  Therefore they are equivalent.  Might as well use id
then and get all of the option capability.

That is why the group doesn't consider this a bug in 'groups'.
Because the feature plus more has already been implemented in 'id'.
Since id is one of the standard commands it should always be preferred
over the not standard groups command.  However needing -z would put
this into the nonstandard camp regardless.

Bob





reply via email to

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