[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 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241441

Warner Losh <imp_at_FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |In Progress
                 CC|                            |imp_at_FreeBSD.org

--- Comment #1 from Warner Losh <imp_at_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.
Received on Tue Jul 20 2021 - 03:47:22 UTC

Original text of this message