[tex-live] how robustly call awk script?

Hartmut Henkel hartmut_henkel at gmx.de
Sun Jan 14 14:21:09 CET 2007


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!

Regards, Hartmut

More information about the tex-live mailing list