[Bug 10596] New: awk is broken

bugzilla at busybox.net bugzilla at busybox.net
Sat Dec 16 16:07:47 UTC 2017


https://bugs.busybox.net/show_bug.cgi?id=10596

            Bug ID: 10596
           Summary: awk is broken
           Product: Busybox
           Version: 1.27.x
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at busybox.net
          Reporter: steffen at sdaoden.eu
                CC: busybox-cvs at busybox.net
  Target Milestone: ---

Busybox awk is the only awk which fails in the following:

 ?1[steffen at essex tmp]$ AWK='/bin/busybox awk' mdocmx.sh -vv <
/home/steffen/src/nail.git/nail.1 2>/dev/null | openssl sha1
 (stdin)= 5b31d23821fa65d58516728c73d4c3f95590589e
 ?0[steffen at essex tmp]$ AWK='nawk' mdocmx.sh -vv <
/home/steffen/src/nail.git/nail.1 2>/dev/null | openssl sha1
 (stdin)= c7a6231c1df5ed65ff4a5ad67e36f05b139f2ace
 ?0[steffen at essex tmp]$ AWK='mawk' mdocmx.sh -vv <
/home/steffen/src/nail.git/nail.1 2>/dev/null | openssl sha1
 (stdin)= c7a6231c1df5ed65ff4a5ad67e36f05b139f2ace
 ?0[steffen at essex tmp]$ AWK='gawk' mdocmx.sh -vv <
/home/steffen/src/nail.git/nail.1 2>/dev/null | openssl sha1
 (stdin)= c7a6231c1df5ed65ff4a5ad67e36f05b139f2ace

The output is very different from the expected.
I have no idea what to tell you more, i seem to recall that i had tested it at
the beginning of 2015 and it was fine?  But i may falsely remember that.

To reproduce, you could install the s-nail package on AlpineLinux, for example.
 The script itself is available at [1], for example.  (Repo clone at
repo.or.cz.)  Should be standalone.

 [1] https://git.sdaoden.eu/cgit/s-roff.git/plain/mdocmx.sh?h=next

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list