Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
awk: Make -F '' and -v FS="" behave the same
IEEE Std 1003.1-2008 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="". PR: 241441 Upstream issue: onetrueawk/awk#127 Upstream pull request: onetrueawk/awk#128 MFC After: 2 weeks Sponsored by: Netflix (cherry picked from commit a2e3e11)
- Loading branch information