On Tue, 22 Jan 2008 16:18:31 +0800
"Eric L. Chen" <[EMAIL PROTECTED]> wrote:

> I think use "/usr/bin/env bash" is better than "/usr/local/bin/bash"
> in portability.

I concur. I have written several scripts that are used on various
operating systems and found using the '/usr/bin/env' notation in the
shebang the most successful. I am quite surprised that it is not
employed more frequently.

Just my 2¢.

-- 

Gerard
[EMAIL PROTECTED]

The Wright Bothers weren't the first to fly.
They were just the first not to crash.

Attachment: signature.asc
Description: PGP signature

Reply via email to