delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/09/21:23:40

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
X-Apparently-From: <earnie?boyd AT yahoo DOT com>
Message-ID: <3A5B80F4.8D506F41@yahoo.com>
Date: Tue, 09 Jan 2001 16:21:56 -0500
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: cygwin AT cygwin DOT com
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.171 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: gerrit DOT haase AT t-online DOT de
CC: greenius <steven AT greenius DOT co DOT uk>, cygwin AT cygwin DOT com
Subject: Re: Trivial Error with autoscan script
References: <3A5AD416 DOT 1249 DOT 192D1AD AT localhost>

"Gerrit P. Haase" wrote:

> <9 Jan 2001, 0:23 Uhr wars, als greenius folgendes schrub:>
> < Trivial Error with autoscan script >
>
> > The script /usr/bin/autoscan which is used to create an initial configure.in
> > to use with autoconf and automake has as its first line:
> >   #! /usr/local/bin/perl
> > But Cygwin installs perl into /usr/bin so attempting to run this script
> > gives a program not found error.
> > Simple solution is to edit /usr/bin/autoscan and remove the /local
>
> Check all your scripts and change the sharpbang / shebang / sharp bang /
> she bang to:
>
> #!/usr/bin/env perl
>
> Taken from perl-5.6.1-1-README by E. Fifer:
>
> See `perldoc perlrun' for more details.  In particular, it explains the
> "#!/usr/bin/env perl" trick as well as other tips on what you should use
> as the first line of your program.
>

Yes, this works for tclsh, wish, myownshell, etc as well.  It is such a
convenience that the FHS should descibe it in the /bin directory.

Cheers,
Earnie.


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019