Non-portable use of GNU awk in tests

Osipov, Michael (IN IT IN) michael.osipov at innomotics.com
Sat Sep 27 05:58:38 EDT 2025


Hi folks,

while trying to run "gmake check" on HP-UX I noticed many awk issues. 
the HP awk is incapable of processing all requests. I have supplied 
AWK=gawk which did make it a bit better. As far as I can see $GAWK isn't 
use throughout src/tests/. This fixes it for me:
 > grep -r "awk '" . -l | xargs -I% sed -i "s#awk '#gawk '##" %
but I think think should either be solved by
 > AWK=gawk ./configure
or
 > AWK=gawk gmake check

Michael


More information about the Kerberos mailing list