Skip to content

feat(awk): run gawk, mawk and nawk as the awk builtin - #2561

Merged
chaliy merged 1 commit into
mainfrom
claude/awk-aliases
Oct 7, 2026
Merged

chaliy merged 1 commit into
mainfrom
claude/awk-aliases

Conversation

@chaliy

@chaliy chaliy commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

Requested by Михайло · project thread

What changed

gawk, mawk and nawk run the awk builtin. It is the same engine, which already handles gawk extensions such as gensub and toupper. --version still identifies the tool as bashkit awk.

Why

Gap telemetry showed agents calling gawk by name and getting "command not found".

Before

$ echo "a b" | gawk '{print $2}'
bash: gawk: command not found

After

b

Added awk-aliases.test.sh. The mawk and nawk cases match the reference host; gawk isn't installed there, so that case is bashkit-only.

Risk

Very low. The change adds three names to the builtin table, and knowledge/status/builtins.json was regenerated.

Checklist

  • Spec first
  • cargo test -p bashkit --lib --tests
  • docs/compatibility.md, knowledge/log.md, just regen-builtins

https://claude.ai/code/session_019aFikmptPc91Fj4N2iDXQA


Generated by Claude Code

@chaliy chaliy self-assigned this Oct 7, 2026
@chaliy
chaliy force-pushed the claude/awk-aliases branch from 401f7b8 to 353d7ed Compare October 7, 2026 12:49
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
bashkit 353d7ed Commit Preview URL

Branch Preview URL
Oct 07 2026, 12:50 PM

@chaliy
chaliy merged commit 71be008 into main Oct 7, 2026
47 checks passed
@chaliy
chaliy deleted the claude/awk-aliases branch October 7, 2026 13:06
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.

1 participant