|
From: | arnold |
Subject: | Re: [bug-gawk] Typo in group.awk |
Date: | Tue, 20 Sep 2016 12:16:38 -0600 |
User-agent: | Heirloom mailx 12.4 7/29/08 |
Hi. Thanks for the report. Fixed and will be in the repo shortly. Arnold Jaromir Obr <address@hidden> wrote: > Hi, > > I've hit a typo in *group.awk* causing that getgruser() doesn't work well > for member of more groups : > > _gr_groupsbyuser[a[i]] = gr_groupsbyuser[a[i]] " " $1 > > There is missing "_". The correct assignment should be: > > _gr_groupsbyuser[a[i]] = _gr_groupsbyuser[a[i]] " " $1 > > > Git: > http://git.savannah.gnu.org/cgit/gawk.git/tree/awklib/eg/lib/groupawk.in > Docs: https://www.gnu.org/software/gawk/manual/gawk.html#Group-Functions > > Best regards > > Mira
[Prev in Thread] | Current Thread | [Next in Thread] |