[tex-live] win32 and Gs
Akira Kakuto
kakuto at fsci.fuk.kindai.ac.jp
Sat Dec 23 02:21:07 CET 2006
Hi Karl,
> +#!/usr/bin/perl
> +#eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' && eval 'exec perl -S $0 $argv:q' # -*-perl-*-
> +# if 0;
>
> This doesn't make sense to me. The purpose of the second line is to
> execute perl via /bin/sh. But the #! first line obviates that. Am I
> missing something? Otherwise, I suggest using either the "eval ..." or
> #!/usr/bin/env perl
> but not both.
Sorry. Please adopt the original header in CTAN:
eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' && eval 'exec perl -S $0 $argv:q' # -*-perl-*-
if 0;
I've checked it is ok for ps2eps.exe on Windows.
In the case of
#!/usr/bin/env perl
ps2eps.exe tries
env perl ScriptName
and it will say "there is no env in path" on
usual Windows.
Thanks,
Akira
More information about the tex-live
mailing list