On 15 July 2018 at 19:15, Pádraig Brady <[email protected]> wrote: > An alternative would be to output '\n' in that case > which wouldn't be as general, but would be easier to parse > with existing tools.
Or have you considered using lslogins from util-linux? It gives a lot of control what to print and how. lslogins --logins=$USER,nobody --output=USER,GROUP,SUPP-GROUPS -- Sami Kerola http://www.iki.fi/kerolasa/
