replace #!/bin/sh by #!/bin/bash replace echo by printf See comments to individual commits.
mentioned in issue #14 (closed)