Skip to content

awk: map --posix/--traditional to ExecMode::Posix - #135

Merged
Alonely0 merged 1 commit into
uutils:mainfrom
Franklin-Qi:feature-issue#124-posix-execmode
Oct 10, 2026
Merged

Alonely0 merged 1 commit into
uutils:mainfrom
Franklin-Qi:feature-issue#124-posix-execmode

Conversation

@Franklin-Qi

Copy link
Copy Markdown
Collaborator

Wire -c/-P to Posix mode so RS uses the first character only (rscompat) and FS="" keeps the whole record as $1. Split out of the RS regexp PR.

Wire -c/-P to Posix mode so RS uses the first character only (rscompat)
and FS="" keeps the whole record as $1. Split out of the RS regexp PR.
@Alonely0

Copy link
Copy Markdown
Collaborator

Nice, ty! I thought that had already been done hahah. Traditional mode differs little from POSIX and it's scarcely documented. We can keep it like this for now until we map out how much of a bother it is. It's likely GNU test results will be more informative than the docs themselves.

@Alonely0
Alonely0 merged commit 378101c into uutils:main Oct 10, 2026
12 of 15 checks passed
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.

2 participants