Points of My Scenario:
1, I have a text file that lists groups and their members like so:
2. Each group is separated from the other by an empty line, and the group name is always the first item in its list.
3. I need a way to specify a memberX that will output a file listing all the GROUPs under which memberX appears.
QUESTION: What approach can I use to output a list of all groups for any member I specify?