Messages in this thread | | | Date | Mon, 22 Mar 1999 15:55:07 +0100 | From | (Tor Arntsen) | Subject | Re: #!perl - alternative path to script interpreters - patch to 2.2 |
| |
In article <fa.im7mc0v.10cl8h@ifi.uio.no>, <jb@heva.net.pl> writes:
[#!perl]
What's wrong with #!/bin/env perl
or even : # -*-Perl-*- eval 'exec perl -w -S $0 ${1+"$@"}' if 0;
I write all my perl scripts like that (I picked up the tricks from the XEmacs developers list).
Now you only have to fix the incorrect path to 'env' on Linux, it should be in /bin not /usr/bin, because /bin is where you will find it on IRIX, AIX, Solaris and everywhere I looked.
- Tor
- 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/
| |