title: How to print character just after a particular character in a string using bash
body: <p>I have a string like</p>
  
  <pre><code>abc def 0/1 dls dl 9/0 1//o
  </code></pre>
  
  <p>I want to take <code>0</code> and <code>1</code> (the characters just after and before the first <code>/</code> in the string) into two variables, say <code>$NUM1</code> and <code>$NUM2</code>, and do some further logic on them.</p>