Я так понимаю, здесь гуляют разработчики FreeBSD.
Думаю, большинство багов из NetBSD на awk воспроизведутся и во FreeBSD. Пользовали и разработчики,
проверьте воспроизводятся ли, и если что, пинайте своих.
С Брайном Керниганом я разговаривал. Если вкратце, он ответил так: "у меня так работает 30 лет и я не буду ничего менять" (PR/39133 и др.)
или "это не баг" (PR/33392) или "я пытался, но не смог, и не буду больше пытаться" (PR/36394). Короче, не собирается он ничего фиксить и даже
спасибо не скажет :-/
- fixed: serious bug with regular expression, PR/33392
- fixed: support for multibyte charsets in tolower/toupper functions, PR/36394
- fixed: there is a hardcoded limit on a number of open files, PR/37205
- fixed: incorrect handling of \ at the end of line in awk script, PR/37212
- fixed: incorrect matching of [:cntrl:], PR/38737
- fixed: warning about non-portable escape sequences, PR/39002
- fixed: free(): warning: junk pointer, too low to make sense, PR/39132
- fixed: -Ft is broken, PR/39133
- fixed: segfaults when "nextfile" is in BEGIN {...}, bin/39134
- fixed: nawk doesn't handle RS as a RE but as a single character, PR/30294
- fixed: awk(1) crash with RE and ^ anchor, PR/40689
Others are not fixed:
- Bizarre behavior in awk with invalid numeric constants, PR/42463
- LC_NUMERIC in awk is not POSIX compliant, PR/42320
- NetBSD awk/nawk concatenation op. is much slower than that of GNU awk, PR/39759
- /usr/bin/awk: formatting issues in printf, PR/39135
- regexps should treat { and } as {n,m}, but as regular characters, PR/38127
