[tex-live] how robustly call awk script?

Reinhard Kotucha reinhard.kotucha at web.de
Tue Jan 16 21:34:46 CET 2007

>>>>> "Florent" == Florent Rougon <f.rougon at free.fr> writes:

  >   http://www.in-ulm.de/~mascheck/various/shebang/

Thanks for the link.

  > This is probably why the env trick is popular within the Python
  > community, but much less popular among Perl people (because a
  > Python script called foo.py is usually called with 'python
  > foo.py', not with 'python -w foo.py' or similar, whereas options
  > such as -w are commonly used when invoking Perl scripts).

In Perl you can replace

    #!/usr/bin/perl -w


    #!/usr/bin/env perl


    #!/usr/bin/env perl
    use English;

It is described in Larry Wall's book.  Maybe many Perl programmers are
not aware of this because it is not always easy to guess a good
keyword to search for in the index.  I must admit that I spent some
time to find it out too.


Reinhard Kotucha			              Phone: +49-511-4592165
Marschnerstr. 25
D-30167 Hannover	                      mailto:reinhard.kotucha at web.de
Microsoft isn't the answer. Microsoft is the question, and the answer is NO.

More information about the tex-live mailing list