Fixed incorrect lines and ported to 'bash'
Updated README.rst