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
What's wrong with people following the FHS, which specifies that perl is
accessible at /usr/bin/perl, python at /usr/bin/python, and tcl at
/usr/bin/tcl?

On 23 Mar 1999, Miquel van Smoorenburg wrote:

> In article <cistron.199903221455.PAA10243@pallas.spacetec.no>,
> Tor Arntsen <tor@spacetec.no> wrote:
> >In article <fa.im7mc0v.10cl8h@ifi.uio.no>,
> > <jb@heva.net.pl> writes:
> >
> >[#!perl]
> >
> >What's wrong with
> >#!/bin/env perl
>
> 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
>
> Mike.
> --
> Indifference will certainly be the downfall of mankind, but who cares?
>
> -
> 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/
>

+-----------------------+-----------------------------+--------------------+
| Jakob 'sparky' Kaivo | jake@nodomainname.net | jake@ndn.net |
| NoDomainName Networks | http://www.nodomainname.net | http://www.ndn.net |
| AtDot E-mail Services | http://www.atdot.org +--------------------+
+-----------------------+-----------------------------+ whois jkk12 |
| Thanks to advances in shortness, I have updated my +--------------------+
| ~/.signature. Note that nodomainname can now be replaced with just ndn. |
+--------------------------------------------------------------------------+


-
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.748 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site