1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-19 02:29:40 +00:00
freebsd/usr.bin/awk
Warner Losh 666abb0888 one-true-awk: import 20210221 (1e4bc42c53a1) which fixes a number of bugs
Import the latest bsd-features branch of the one-true-awk upstream:

o Move to bison for $YACC
o Set close-on-exec flag for file and pipe redirects that aren't std*
o lots of little fixes to modernize ocde base
o free sval member before setting it
o fix a bug where a{0,3} could match aaaa
o pull in systime and strftime from NetBSD awk
o pull in fixes from {Net,Free,Open}BSD (normalized our code with them)
o add BSD extensions and, or, xor, compl, lsheift, rshift (mostly a nop)

Also revert a few of the trivial FreeBSD changes that were done slightly
differently in the upstreaming process. Also, our PR database may have
been mined by upstream for these fixes, and Mikolaj Golub may deserve
credit for some of the fixes in this update.

Suggested by:		Mikolaj Golub <to.my.trociny@gmail.com>
PR:			143363, 143365, 143368, 143369, 143373, 143375, 214783
Sponsored by:		Netflix

(cherry picked from commit f39dd6a978)
2021-07-10 11:07:26 -06:00
..
tests
awk.1 awk(1): use -version instead of -V 2020-06-13 09:16:07 +00:00
Makefile one-true-awk: import 20210221 (1e4bc42c53a1) which fixes a number of bugs 2021-07-10 11:07:26 -06:00
Makefile.depend