Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jul 2021 03:47:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 241441] inconsistency between allowed empty regex for `awk -F` and split()
Message-ID:  <bug-241441-227-tRq3ImhxuG@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-241441-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-241441-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241441

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=3D'' is undefined behavior.
It also states that -F sepstring and -v FS=3Dsepstring are identical.

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

however, one true awk treats them differently.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-241441-227-tRq3ImhxuG>