Subject: Re: #!/....
From: [email-masked] (Fabio Somenzi)

4 Feb 1997 08:11:25 -0800
Approved: [email-masked]
Distribution: cygnus
Message-ID: <[email-masked]>
Original-To: [email-masked], [email-masked]
Original-Sender: [email-masked]

->In the top of my file I have
->  #!/usr/local/bin/perl,
->and it seems that bash just skips write over it.

#! /bin/sh -- # -*- perl -*-
eval 'exec /perl5/bin/perl -S $0 ${1+"$@"}'
    if 0;

(From the new Camel Book.)

Fabio

-- 
Fabio Somenzi          | Phone: 303-492-3466
University of Colorado | Fax:   303-492-2758
ECE Dept.              | Email: [email-masked]
Boulder CO 80309-0425  | WWW:   http://vlsi.colorado.edu/~fabio
-
For help on using this list, send a message to
"[email-masked]" with one line of text: "help".