POSIX mandates that -F str be treated the same as -v FS=str.
authormillert <millert@openbsd.org>
Tue, 27 Jul 2021 18:28:19 +0000 (18:28 +0000)
committermillert <millert@openbsd.org>
Tue, 27 Jul 2021 18:28:19 +0000 (18:28 +0000)
commitb2acf0d56f5379caa822bccbe0a87fcdad75ac7e
treeb88267782d31c80821e9f2c52e97ad3bb613fbe8
parentbc837866265349424953a2f715f5a8b8b5231b72
POSIX mandates that -F str be treated the same as -v FS=str.
For a null string, this was not the case.  Since awk(1) documents
that a null string for FS has a specific behavior, make -F '' behave
consistently with -v FS="".  https://github.com/onetrueawk/awk/pull/128
usr.bin/awk/main.c