I have a setup like this:

zmprov ga Child1@domain.se | grep zimbraId: | awk '{print$2}'
zmprov ma Parent1@domain.se +zimbraChildAccount Child1_ID
zmprov ma Parent1@domain.se +zimbraPrefChildVisibleAccount Child1_ID

zmprov ga Child2@domain.se | grep zimbraId: | awk '{print$2}'
zmprov ma Parent2@domain.se +zimbraChildAccount Child2_ID
zmprov ma Parent2@domain.se +zimbraPrefChildVisibleAccount Child2_ID

zmprov ga Child3@domain.se | grep zimbraId: | awk '{print$2}'
zmprov ma Parent1@domain.se +zimbraChildAccount Child3_ID
zmprov ma Parent1@domain.se +zimbraPrefChildVisibleAccount Child3_ID

Summary:
Parent1 is connected to Child1 & Child3
Parent2 is connected to Child2
I want to search Parent1 and Parent2 to see what Child is connected.
How can I do that?

Thanks in Advanced

Henrik