Regarding the compatibility of bash and sh... Bash is
supposed to run in a compatibility when invoked as "sh" (by "compatibility mode" I mean that it should function in exactly the same way as sh). Of course, I cannot speak for how well it pulls this off. :-D
------------
:Wq
Not an editor command: Wq