27.2.2 Printing entries from /etc/group

We are meant to call these function after a call to mbfl_system_group_read().

Function: mbfl_system_group_print_entries

Print to stdout the entries of /etc/group, one per line. The format of each line is:

name='root' passwd='x' gid=0 users='root'
Function: mbfl_system_group_print_entries_as_xml

Print to stdout the entries of /etc/group, one per line, in XML format. The format of each line is:

<entry name='root' passwd='x' gid='0' users='root'/>
Function: mbfl_system_group_print_entries_as_json

Print to stdout the entries of /etc/group, one per line, in JSON format. The format of each line is:

"entry": { "name": "root", "passwd": "x", "gid": 0, "users": "root" }

This document describes version 3.0.0-devel.9 of Marcos Bash Functions Library.