[EMAIL PROTECTED] wrote:
You could make the first line of the scripts:
#!/usr/bin/env sh
That is what I thought. Shouldn't this become the law then? ;-) I
mean, writing '#!/bin/sh' is obviously wrong if you intend your scripts
to be run on a standards compliant OS.
Although formal standards refrain from specifying exact locations of
binaries, I believe '/usr/bin/env' could easily be agreed upon between
UNIX implementations making it defacto standard.
Making people write '#!/usr/bin/env sh' instead of '#!/bin/sh' seems
like a radical turn. Are there any other issues with this approach?
Security perhaps? I'm trying to see the whole picture before I start
pushing this idea.
_______________________________________________
opensolaris-discuss mailing list
[email protected]