bug-coreutils
[Top][All Lists]
Advanced

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

bug#21735: users(1) --uniq --all options


From: Pádraig Brady
Subject: bug#21735: users(1) --uniq --all options
Date: Thu, 22 Oct 2015 16:54:59 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

On 22/10/15 15:03, Gonçalo Paiva wrote:
> Salutations,
> 
> This is not as much a bug report but more a feature suggestion.
> In the *users* command I propose that the users has an option (since I don't 
> see one in --help)
> that allows to see users without repetition and all *users*.
> For example I have two users A and B.
> When in A session since (I assume) A is in several groups it appears:
> A A A A
> I suggest a command line option to either show the group

$ who

> or the output A.

$ who -u | cut -f1 -d ' ' | sort -u
$ users | tr ' ' '\n' | sort -u

> Also A and B should be an idea for some root option maybe!?

$ getent passwd | cut -f1 -d:


I think the required functionality exists elsewhere.
How about we just reference the appropriate utils
in the man page, as done in the attached?

cheers,
Pádraig.

Attachment: users-see-also.patch
Description: Text Data


reply via email to

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