Bug 14381

Summary: busybox awk '$2 == var' can fail to give only lines with given search string
Product: Busybox Reporter: ricercar
Component: Standard ComplianceAssignee: unassigned
Status: RESOLVED FIXED    
Severity: major CC: busybox-cvs
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:
Attachments: .config

Description ricercar 2021-11-25 11:44:57 UTC
Created attachment 9161 [details]
.config

Version:1.34.1
Expected: this code to only output second line, but it outputs both lines:

> printf "8 0091\n9 0133\n"|~/busybox-1.34.1/busybox awk '$2 == 0133'
Comment 1 ricercar 2021-11-25 15:46:05 UTC
I'm on Alpine Linux btw, which uses musl.
Comment 2 Denys Vlasenko 2022-01-08 21:44:29 UTC
Fixed in git.