Hi,

I'm using OpenBSD -current (snapshots from 28 sept) on amd64.
I'm not sure this is a bug but I can't find an explanation in the man
page.

I wanted to remove last field of a string using "-" as separator, but
the separator seems to be reset to space ' ' after modifying $NF

$ echo "www/p5-Dancer-Plugin-2019" | awk -F'-' '{print; $NF=""; print}'
www/p5-Dancer-Plugin-2019
www/p5 Dancer Plugin 

Reply via email to