git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Why /usr/bin/env in scripts
@ 2005-04-25  7:38 Philip Pokorny
  2005-04-25  9:42 ` David Greaves
  2005-04-25 17:45 ` David A. Wheeler
  0 siblings, 2 replies; 3+ messages in thread
From: Philip Pokorny @ 2005-04-25  7:38 UTC (permalink / raw)
  To: Git Mailing List

I notice that the first line of the pasky shell scripts is

#!/usr/bin/env bash

rather than what I'm more familiar with:

#!/bin/bash

I see that env can be used to alter the environment before running a 
program, but that doesn't seem to be happening here.

In fact, on my system /usr/bin/env is a link to /bin/env...

So what am I missing?  Is this a portability aid?

Thanks,
:v)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-04-25 17:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-25  7:38 Why /usr/bin/env in scripts Philip Pokorny
2005-04-25  9:42 ` David Greaves
2005-04-25 17:45 ` David A. Wheeler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).