[Bug 241441] inconsistency between allowed empty regex for `awk -F` and split()

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 20 Jul 2021 03:47:22 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241441

Warner Losh <imp@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |In Progress
                 CC|                            |imp@FreeBSD.org

--- Comment #1 from Warner Losh <imp@FreeBSD.org> ---
The standard states that FS='' is undefined behavior.
It also states that -F sepstring and -v FS=sepstring are identical.

https://pubs.opengroup.org/onlinepubs/9699919799/utilities/awk.html

however, one true awk treats them differently.

-- 
You are receiving this mail because:
You are the assignee for the bug.