Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Fedora Core 3 questions



On Fri, 28 Jan 2005 11:29:35 +0900 (JST), Joe Larabell
<larabell@?jp> wrote:

> /usr/bin/env is also handy to use after the shebang at the top of perl and
> other ascii scripts when you don't know where the interpreter will be
> installed on any particular system. It knows how to use the search path to
> find the executable. For example:
> 
>   #!/usr/bin/env perl

Thank you! I stumbled across this years ago, and had since forgotten
exactly how to do it. What a lifesaver!

Cheers,
Josh


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links