title: How to I read the second line of the output of a command into a bash variable?
body: <p>I have a command that prints several lines and I do want to put the second line into a bash variable.</p>
  
  <p>like <code>echo "AAA\nBBB"</code> and I want a bash command that would put <code>BBB</code> in a bash variable.</p>