[tex-live] how robustly call awk script?

Hartmut Henkel hartmut_henkel at gmx.de
Sun Jan 14 14:31:02 CET 2007

On Sun, 14 Jan 2007, Hartmut Henkel wrote:

> trying to put an awk script as a pipe into TeX Live bin, i wonder what's
> the portable way to do it. E. g.
> #!/bin/awk -f
> works not with all systems, e. g. here it's
> #!/usr/bin/awk -f
> So how to cover all these different locations/systems in a robust way?
> Is there a trick e. g. to put env into the 1st line, or make a shell
> wrapper? Hints very welcome!

...to answer myself, found a shell wrapper in Nelson Beebe's book. Sorry
for the noise, thanks for help.

Regards, Hartmut

More information about the tex-live mailing list