lkml.org 
[lkml]   [1999]   [Mar]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: #!perl - alternative path to script interpreters - patch to 2.2
On 23 Mar 1999, Miquel van Smoorenburg wrote:
> What's wrong with:
>
> echo ":perl:M::#\!perl::/usr/bin/perl:" > /proc/sys/fs/binfmt_misc/register
>
> If you do this all scripts starting with #!perl will be executed
> with /usr/bin/perl as the interpreter. Same goes for #!sh, #!wish etc

What's right with it?

1. Getting everyone to do that on their Linux system is no easier than
getting them to make a /interpreters and putting symbolic links to perl
and other interpreters there.

2. Getting everyone to replace their *BSD, Solaris, SCO, HP-UX, etc. systems
with Linux so they can do that is almost certainly harder than getting them
to make a /interpreters and put symbolic links in.

--Tim Smith


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.080 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site