merge xpg4 and legacy id

Issue #58 resolved
Garrett D'Amore repo owner created an issue

The semantic difference between id and xpg4/id is quite tiny.

  1. xpg4 id behave almost like id when -a is supplied, except that it does not show the primary group in the groups list.

  2. with -a, the group is listed in groups list if it is a supplementary group and also the primary group. (Meaning if it shows up in both places, it is listed there.)

The correct answer is to have /usr/bin/id adopt xpg4 id's behavior, and to make -a determine whether the primary group is suppressed or not. Easy, right?

This is unlikely to break anything.

Comments (1)

  1. Log in to comment