I would like to export data from zimbra server, but it's export data in every new lines, my command:
zmprov -l gaa -v domain.com | grep -e "zimbraForeignPrincipal: " -e "zimbraTwoFactorAuthEnabled: " -e "^mail: "
but the result looks like:
email:
zimbraForeignPrincipal:
zimbraTwoFactorAuthEnabled
Is any way to have email with related attributes in one line?