Bug 13976

Summary: awk as of git/2021-07-08 .. premature exit
Product: Busybox Reporter: Steffen Nurpmeso <steffen>
Component: OtherAssignee: unassigned
Status: NEW ---    
Severity: normal CC: busybox-cvs
Priority: P5    
Version: 1.33.x   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:

Description Steffen Nurpmeso 2021-07-08 20:12:46 UTC
Hello.

#?0|kent:roff.git$ AWK=nawk dash mdocmx.sh mdocmx.1|wc -l
137
#?0|kent:roff.git$ AWK=gawk dash mdocmx.sh mdocmx.1|wc -l
137
#?0|kent:roff.git$ AWK="/home/steffen/usr-kent-linux-x86_64/bin/busybox awk" dash mdocmx.sh mdocmx.1|wc -l
27

I do not know anything else.  All i can say is that END{} normally executes, but then new busybox awk stops.  Maybe a descriptor is closed?
The files below are 3010 and 21163 bytes (the same as last time).

   https://git.sdaoden.eu/browse?p=s-roff.git;a=blob_plain;f=mdocmx.1;hb=refs/heads/next
   https://git.sdaoden.eu/browse?p=s-roff.git;a=blob_plain;f=mdocmx.sh;hb=refs/heads/next