scripting environments (was: /bin/date and coreutils)

Vincent Lefevre vincent-opdarw at vinc17.org
Fri May 11 09:26:13 PDT 2007


On 2007-05-11 18:12:35 +0200, Elias Pipping wrote:
> On May 11, 2007, at 9:13 AM, Vincent Lefevre wrote:
>> They are always there under Mac OS X. But some Unix platforms do not
>> necessarily have a /bin/bash (e.g. Solaris). And I don't think this
>> is the case of tcsh either (/bin/csh is probably much more common,
>> but anyway http://www.faqs.org/faqs/unix-faq/shell/csh-whynot/).
>> /bin/sh is always there, but this is not always a POSIX sh (e.g. it
>> isn't under Solaris).
>
> any reason not to use '/usr/bin/env bash'?

Because a standard Solaris installation doesn't have bash installed
anywhere.

-- 
Vincent Lefèvre <vincent at vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)



More information about the macports-users mailing list