title: Parse SNMP output in Bash
body: <p>I need to process the text output from the below command:</p>
  
  <pre><code>snmpwalk -v2c -c community 192.168.122.15 .1.3.6.1.4.1.14823.2.2.1.4.1.2.1.39
  </code></pre>
  
  <p>The Original output is:</p>
  
  <p><code>SNMPv2-SMI::enterprises.14823.2.2.1.4.1.2.1.39.252.200.151.233.54.69.197.39.5.77 = STRING: "Android"</code></p>
  
  <p>I need the output to look like</p>
  
  <pre><code>197.39.5.77="Android"
  </code></pre>
  
  <p><code>197.39.5.77</code> is the last four digits before the <code>=</code> sign.</p>