title: Is it possible to print a spinning cursor in a terminal using bash scripting?
body: <p>I have seen solutions which use <code>c</code>,<code>python</code>,<code>ruby</code> but bash. The closest possible design I found was using this ruby console solution</p>
  
  <pre><code>10.times {
    print "/"
    sleep(0.1)
    print "\b"
    print "-"
    sleep(0.1)
    print "\b"
    print "\\"
    sleep(0.1)
    print "\b"
    print "|"
    sleep(0.1)
    print "\b"
  }
  </code></pre>
  
  <p>I want an effect something simillar to that.</p>