]> git.ipfire.org Git - thirdparty/util-linux.git/commit
wall: add --group option
authorJim Patterson <jimp@wegrok.net>
Wed, 16 Nov 2016 17:22:14 +0000 (12:22 -0500)
committerKarel Zak <kzak@redhat.com>
Fri, 2 Dec 2016 12:53:03 +0000 (13:53 +0100)
commit01544c52f86166a4a5dc81835027e412580396b2
treea154d85fb04a29e8c87bcafdbf96a539468c001e
parent3fcbd7978980dc1a29c626b701333e27599e506d
wall: add --group option

The wall command on AIX supports a "-g" option to limit the message
to a group of users by gid.  Add compatibility to the Linux version.

Thanks to Sami Kerola <kerolasa@iki.fi> for an initial skeleton
implementation.

[kzak@redhat.com: - rename max to ngroups
                  - add free_group_workspace()
                  - some cosmetic changes]

Reference: http://www.ibm.com/support/knowledgecenter/ssw_aix_61/com.ibm.aix.cmds6/wall.htm
Signed-off-by: Jim Patterson <jimp@wegrok.net>
Signed-off-by: Karel Zak <kzak@redhat.com>
bash-completion/wall
term-utils/wall.1
term-utils/wall.c