> Hello!
>
> I have several standard-compliant shell scripts.  These scripts use
> '#!/bin/sh'.  However, since /bin/sh on Solaris is not
> standard-compliant, these scripts fail.
>
> What is the proper way to write standard scripts in Solaris and make
> sure that those scripts can be run on other platforms?
> Should I use '#!/usr/bin/env sh'?

#!/sbin/sh

will also work on both GNU and SUN OpenSolaris variations

Erast


_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to