tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: pkgsrc/bootstrap
Frédéric Fauberteau <triaxx%NetBSD.org@localhost> writes:
> Otherwise, I got the following error messages:
> => Checking for missing run-time search paths in pkg_chk-2.0.11
> awk: /home/triaxx/pkgsrc/mk/check/check-shlibs-elf.awk:44: (FILENAME=-
> FNR=1) warning: regexp escape sequence `\
> ' is not a known regexp operator
> awk: /home/triaxx/pkgsrc/mk/check/check-shlibs-elf.awk:45: (FILENAME=-
> FNR=1) warning: regexp escape sequence `\ ' is not a known
> regexp operator
>
> Should not we fix awk scripts in mk/ to handle GNU Awk 5?
As the bumper sticker says, What would POSIX do?
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/awk.html
So I guess the immediate questions are:
Does NetBSD's /usr/bin/awk comply with POSIX?
Are the scripts in mk/ already written so that any POSIX-compliant awk
is ok?
Would doing so be hard?
Does "GNU Awk 5" comply with POSIX?
Do you see a path to using a subset of POSIX awk language so that
scripts work on any compliant awk, plus some others? Do you mean
something else? (Without understanding the relationship of our code,
various awks and standards it is hard to know which way is up and what
should happen.)
Home |
Main Index |
Thread Index |
Old Index