Determining which iOS devices are syncing to which accounts

If you have a list of device serial numbers and want to see which (if any) of them are syncing with a Zimbra account using Exchange :


Yes, I know I could work the sed into the awk, but I’m using lowest common denominator of features since I regularily switch between using GNU sed and the broken sed that ships with OSX