git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [Patch] Using 'perl' in *.sh

From
Randal L. Schwartz <merlyn@stonehenge.com>
Date
Jul 10, 2006, 13:09 UTC
Message-ID
<86veq5sj22.fsf@blue.stonehenge.com>
In-Reply-To
<200607100741.26377.michal.rokos@nextsoft.cz>
>>>>> "Michal" == Michal Rokos <michal.rokos@nextsoft.cz> writes:

Michal> I don't se the point. If you ask me, I'd say it should be either: Michal> - controlled fully via env: which means 'perl' in scripts and /usr/bin/env in Michal> *.perl; or

which *pointlessly* doesn't work if *I* have installed a private Perl and a private git on a large shared systems, and *you* on the same system want to use my git installation, but not necessarily have my Perl in your path.

There's *no* point to the env hack. You're *installing* the file, which means you can *rewrite* it as needed. The env hack is a quick hack in case you have a no-install file (something you're rsync'ing from one machine to another) for strictly personal use. Don't introduce that to something like the formal git installation.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
Previous: Michal RokosNext: Johannes Schindelin
Message 12 of 16 in “Using 'perl' in *.sh”
  1. Using 'perl' in *.shMichal Rokos, Jul 8, 2006
  2. Junio C HamanoJul 8, 2006
  3. Alex RiesenJul 9, 2006
  4. Jan-Benedict GlawJul 9, 2006
  5. Junio C HamanoJul 9, 2006
  6. Michal RokosJul 9, 2006
  7. Randal L. SchwartzJul 9, 2006
  8. Jan-Benedict GlawJul 9, 2006
  9. Junio C HamanoJul 9, 2006
  10. Jan-Benedict GlawJul 9, 2006
  11. Michal RokosJul 10, 2006
  12. Randal L. SchwartzJul 10, 2006
  13. Johannes SchindelinJul 10, 2006
  14. Randal L. SchwartzJul 10, 2006
  15. Yakov LernerJul 9, 2006
  16. Alex RiesenJul 9, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.