|
From: | Ondrej Oprala |
Subject: | [PATCH] id,groups: optionally delimit output with null or newline |
Date: | Tue, 28 May 2013 11:10:05 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130311 Thunderbird/17.0.4 |
Hi,I'd like to propose a patch based on http://lists.gnu.org/archive/html/bug-coreutils/2011-11/msg00024.html . The -{0,1} option is only enabled for some option combinations (as discussed in above link) although I have some doubts about the usefulness of groups -0|-1 without any other arguments; on the other hand, changing the delims for the "USERNAME_1: group_1...group_n" output is IMHO very weird. However, maybe we could only print the "USERNAME: " part if more than one username is specified as an argument.
Or does "id USERNAME -Gn" suffice in this case? What do you think? Thanks, Ondrej.
id-groups-delims.patch
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |