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
