title: How to convert this Python script to a shell script?
body: <p>This is a python script.</p>
  
  <pre><code>with open('a') as f:
      a, b = f
      a, b = a.strip(), b.strip()
  </code></pre>
  
  <p>it simply opens the file "a" and then first line becomes a, second line becomes b</p>
  
  <p>now i can use a and b anywhere in the python script.</p>
  
  <p>example:</p>
  
  <pre><code>print a
  print b
  </code></pre>
  
  <p>I need code that is exactly like this but for Bash.</p>