title: Get output of echo and show it on console at the same command
body: <p>I have code like below:</p>
  
  <pre><code>a=$(echo "b")
  </code></pre>
  
  <p>And I want see output of that at the same time and also get output value to be stored to variable at one command. I am not meaning this:</p>
  
  <pre><code>a=$(echo "b")
  echo "$a"
  </code></pre>