I'm removing entries in /etc/group programmatically.
Because I cannot use grep, cat, or cut for this exercise, I wrote my own program that can produce stdout and stdout data to essentially read a file. If you can write your solution in grep, awk, sed, cat, echo, etc. I can use it.
I have root access and can remove groups manually, but since n groups will contain a '+' character, I need a script that checks for this.
After first I assumed I could append any line including '+' with a #, but I'm now feeling confident that this isn't how you programmatically manage /etc/groups. I haven't found great documentation yet and was wondering if someone here might have a better idea on how to disable groups deemed 'legacy' via the use of '+' character.