>Synopsis:      FS pattern separation issue     
>Category:      awk
>Environment:
        System      : OpenBSD 6.7
        Details     : OpenBSD 6.7-current (GENERIC.MP) #258: Wed Jun 10
20:46:20 MDT 2020
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

        Architecture: OpenBSD.amd64
        Machine     : amd64
>Description:

        In the latest awk we're proposing, FS pattern separation does
        not work properly and makes neofetch fail to properly get
        the screen resolution:

$ xrandr --nograb --current | awk -F 'connected |\+|\(' '/ connected/
&& $2 {printf $2 ", "}'
ed primary 1920x1080+0+0 (normal left inverted right x axis y axis)
521mm x 293mm,

        Using mawk or gawk, or our previous version of awk returns
        "primary 1920x1080," as expected.

>Fix:

None.

Charlène.


Reply via email to