bug-gawk
[Top][All Lists]
Advanced

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

[bug-gawk] Typo in group.awk


From: Jaromir Obr
Subject: [bug-gawk] Typo in group.awk
Date: Thu, 08 Sep 2016 19:37:58 +0000

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

reply via email to

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