[tex-live] Re: TeX Live UNIX shell scripts
Harald Hanche-Olsen
hanche@math.ntnu.no
Mon, 22 Apr 2002 20:29:13 +0200
+ Thomas Esser <te@informatik.uni-hannover.de>:
| > diff -ru alpha-linux/t1mapper powerpc-aix4.3.3.0/t1mapper
| > --- alpha-linux/t1mapper Wed Apr 17 22:55:02 2002
| > +++ powerpc-aix4.3.3.0/t1mapper Thu Apr 18 18:08:03 2002
| > @@ -1,4 +1,4 @@
| > -#!/usr/bin/perl -w
| > +#!/usr/bin/env perl -w
|
| I think that this is not portable. Some UNIX kernels will call env with
| the argument "perl -w" (without splitting). So, if we use the env-trick,
| we cannot use the -w option of perl, I think.
Methinks you can say
#!/usr/bin/env perl
$^W=1;
and get the same effect (se man perlvar) - though I haven't done even
halfway serious perl programming for half a dozen years or so.
- Harald