I've completed an SNMP poll to get different licenses from my routers. I've successfully polled the information; I now want to be able to present it. A snapshot of the output I have is:
SNMPv2-SMI::enterprises.9.9.5184.108.40.206.220.127.116.11.1 = STRING: "ipbasek9" SNMPv2-SMI::enterprises.9.9.518.104.22.168.22.214.171.124.2 = STRING: "securityk9" SNMPv2-SMI::enterprises.9.9.5126.96.36.199.188.8.131.52.1 = STRING: "securityk9" SNMPv2-SMI::enterprises.9.9.5184.108.40.206.220.127.116.11.2 = STRING: "uck9"
I just want to show what is in inverted commas:
I have found the regex for it "(.*?)" which will highlight all data in the inverted commas, but what command will actually pull the data from the text? I've tried all sorts of variations of awk, sed, grep but still not having any luck.