On Sat, 04 Jul 2009 16:50:22 -0400, Nick Sabalausky <[email protected]> wrote:

Can /bin/bash safely be expected to exist on all non-Windows systems that
can compile D? Or is there something better for that? Any common
cross-platform-scripting gotcha's to be aware of?

/bin/sh will always exist. Usually, it is a symlink to bash, but not always. Even if it's not bash, it should generally allow 99% of what you want to do with bash. I wrote shell scripts for busybox's ash (/bin/sh) and those scripts ran seamlessly on a full linux system with bash.

-Steve

Reply via email to