First run, remove bashisms
Set `shell="sh"`; use -eq and -lt for `test`
Fix unknown option warning
Merge branch 'feature/posix-sh' into devel