I'm trying to grep/sed from the following xml data:
<record
address="11.800.96.10" name="_ldap._tcp.gc._msdcs.example.com" port="3268" target="aws-sit2.example.com" type="SRV"/>
I wanted to retrieve below information in below format:
address value, name value, port value
Each record will have a carriage return after one liner recorded values extracted. How do I achieve this?