title: Parse string with bash and extract number
body: <p>I've got supervisor's status output, looking like this. </p>
  
  <pre><code>frontend                         RUNNING    pid 16652, uptime 2:11:17
  nginx                            RUNNING    pid 16651, uptime 2:11:17
  redis                            RUNNING    pid 16607, uptime 2:11:32
  </code></pre>
  
  <p>I need to extract nginx's PID. I've done it via grep -P command, but on remote machine grep is build without perl regular expression support. </p>
  
  <p>Looks like sed or awk is exactly what I need, but I don't familiar with them. </p>
  
  <p>Please help me to find a way how to do it, thanks in advance. </p>