Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

awk: Make -F '' and -v FS="" behave the same #128

Merged
merged 1 commit into from
Jul 27, 2021

Conversation

bsdimp
Copy link
Contributor

@bsdimp bsdimp commented Jul 20, 2021

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="".

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:
upstream issue:		onetrueawk#127
Sponsored by:		Netflix
freebsd-git pushed a commit to freebsd/freebsd-src that referenced this pull request Jul 24, 2021
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
@plan9 plan9 merged commit dfd28d2 into onetrueawk:master Jul 27, 2021
bob-beck pushed a commit to openbsd/src that referenced this pull request Jul 27, 2021
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="".  onetrueawk/awk#128
freebsd-git pushed a commit to freebsd/freebsd-src that referenced this pull request Jul 30, 2021
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)
freebsd-git pushed a commit to freebsd/freebsd-src that referenced this pull request Jul 31, 2021
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)
bsdjhb pushed a commit to bsdjhb/cheribsd that referenced this pull request Dec 18, 2021
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants