type1:host5:2.6.5-7.282-smp:4:xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx VERITAS Storage Foundation Enterprise HA : xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx VERITAS File System
type1:host1:2.6.5-7.282-smp:4:xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx VERITAS Storage Foundation Enterprise HA xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx VERITAS Storage Foundation for Oracle
type1:host6:2.6.5-7.282-smp:4:xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx VERITAS Storage Foundation Enterprise
type1:host2:2.6.5-7.282-smp:4:xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx VERITAS Storage Foundation Enterprise HA xxxx-xxxx-xxxx-xxxxx-xxxx-xxxx-xxxx VERITAS Storage Foundation for Oracle
type2:host3:5.10:1:xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx VERITAS Storage Foundation Basic : xxx-xxxx-xxxx-xxxx-xxxx-xxxx-x VERITAS File System xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-x VERITAS File System xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-x VERITAS File System
type2:host4:5.10:1:xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxx VERITAS Storage Foundation Basic : xxx-xxxx-xxxx-xxxx-xxxx-xxxx-x VERITAS File System xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-x VERITAS File System
type1:host6:2.6.5-7.282-smp:4:xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx VERITAS File System
During my matches I was able to print a : between the "key VStorF : key VFSys" but if there are multiple Storage Foundation, say HA and Basic for the same system then it prints "key VSF key VSF".
What I want is a : between every key and Vertias Storage Foundation or Vertias File System or however they are.
So the ending result would look like this:
type1:host5:2.6.5-7.282-smp:4:xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx VERITAS Storage Foundation Enterprise HA : xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx VERITAS File System
type1:host1:2.6.5-7.282-smp:4:xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx VERITAS Storage Foundation Enterprise HA : xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx VERITAS Storage Foundation for Oracle
type1:host6:2.6.5-7.282-smp:4:xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx VERITAS Storage Foundation Enterprise
type1:host2:2.6.5-7.282-smp:4:xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx VERITAS Storage Foundation Enterprise HA : xxxx-xxxx-xxxx-xxxxx-xxxx-xxxx-xxxx VERITAS Storage Foundation for Oracle
type2:host3:5.10:1:xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx VERITAS Storage Foundation Basic : xxx-xxxx-xxxx-xxxx-xxxx-xxxx-x VERITAS File System : xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-x VERITAS File System : xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-x VERITAS File System
type2:host4:5.10:1:xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxx VERITAS Storage Foundation Basic : xxx-xxxx-xxxx-xxxx-xxxx-xxxx-x VERITAS File System : xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-x VERITAS File System
type1:host6:2.6.5-7.282-smp:4:xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx VERITAS File System
type1:host1:2.6.5-7.282-smp:4:xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx VERITAS Storage Foundation Enterprise HA xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx VERITAS Storage Foundation for Oracle
type1:host6:2.6.5-7.282-smp:4:xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx VERITAS Storage Foundation Enterprise
type1:host2:2.6.5-7.282-smp:4:xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx VERITAS Storage Foundation Enterprise HA xxxx-xxxx-xxxx-xxxxx-xxxx-xxxx-xxxx VERITAS Storage Foundation for Oracle
type2:host3:5.10:1:xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx VERITAS Storage Foundation Basic : xxx-xxxx-xxxx-xxxx-xxxx-xxxx-x VERITAS File System xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-x VERITAS File System xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-x VERITAS File System
type2:host4:5.10:1:xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxx VERITAS Storage Foundation Basic : xxx-xxxx-xxxx-xxxx-xxxx-xxxx-x VERITAS File System xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-x VERITAS File System
type1:host6:2.6.5-7.282-smp:4:xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx VERITAS File System
During my matches I was able to print a : between the "key VStorF : key VFSys" but if there are multiple Storage Foundation, say HA and Basic for the same system then it prints "key VSF key VSF".
What I want is a : between every key and Vertias Storage Foundation or Vertias File System or however they are.
So the ending result would look like this:
type1:host5:2.6.5-7.282-smp:4:xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx VERITAS Storage Foundation Enterprise HA : xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx VERITAS File System
type1:host1:2.6.5-7.282-smp:4:xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx VERITAS Storage Foundation Enterprise HA : xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx VERITAS Storage Foundation for Oracle
type1:host6:2.6.5-7.282-smp:4:xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx VERITAS Storage Foundation Enterprise
type1:host2:2.6.5-7.282-smp:4:xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx VERITAS Storage Foundation Enterprise HA : xxxx-xxxx-xxxx-xxxxx-xxxx-xxxx-xxxx VERITAS Storage Foundation for Oracle
type2:host3:5.10:1:xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx VERITAS Storage Foundation Basic : xxx-xxxx-xxxx-xxxx-xxxx-xxxx-x VERITAS File System : xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-x VERITAS File System : xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-x VERITAS File System
type2:host4:5.10:1:xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxx VERITAS Storage Foundation Basic : xxx-xxxx-xxxx-xxxx-xxxx-xxxx-x VERITAS File System : xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-x VERITAS File System
type1:host6:2.6.5-7.282-smp:4:xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx VERITAS File System