title: How to get the second column from command output?
body: <p>My command's output is something like:</p>
  
  <pre><code>1540 "A B"
     6 "C"
   119 "D"
  </code></pre>
  
  <p>The first column is always a number, followed by a space, then a double-quoted string.</p>
  
  <p>My purpose is to get the second column only, like:</p>
  
  <pre><code>"A B"
  "C"
  "D"
  </code></pre>
  
  <p>I intended to use <code>&lt;some_command&gt; | awk '{print $2}'</code> to accomplish this. But the question is, some values in the second column contain space(s), which happens to be the default delimiter for <code>awk</code> to separate the fields. Therefore, the output is messed up:</p>
  
  <pre><code>"A
  "C"
  "D"
  </code></pre>
  
  <p>How do I get the second column's value (with paired quotes) cleanly?</p>