On Fri, Aug 23, 2024 at 01:53:51AM +0200, Marek Rusinowski wrote:
> Package: mawk
> Version: 1.3.4.20240819-2
> Severity: important

maybe normal - packager's choice though.

> Tags: upstream
> X-Debbugs-Cc: marekrusinow...@gmail.com
> 
> Dear Maintainer,
> 
> In the newest version of mawk, the following invocation returns invalid
> result:
> 
> $ mawk 'BEGIN { x = "asd "; sub(/ .*$/, "", x); print("|"x"|"); }'
> |asd |

thanks - I can reproduce this
(though puzzled how added and existing tests didn't show this regression)

I'll see how to fix (and add this case...)

-- 
Thomas E. Dickey <dic...@invisible-island.net>
https://invisible-island.net

Attachment: signature.asc
Description: PGP signature

Reply via email to