Skip to content

feat(builtins): implement yes and realpath builtins#265

Merged
chaliy merged 1 commit intomainfrom
claude/bashkit-bash-compatibility-BsDKD
Feb 25, 2026
Merged

feat(builtins): implement yes and realpath builtins#265
chaliy merged 1 commit intomainfrom
claude/bashkit-bash-compatibility-BsDKD

Conversation

@chaliy
Copy link
Contributor

@chaliy chaliy commented Feb 25, 2026

Summary

  • Implement yes builtin: repeatedly output a string (with 10K line safety limit for virtual env)
  • Implement realpath builtin: resolve absolute pathname with . and .. normalization
  • 7 spec tests covering both builtins

Test plan

  • cargo test --all-features passes
  • cargo clippy --all-targets --all-features -- -D warnings clean
  • cargo fmt --check clean
  • Spec counts updated (Bash 951→958, Total 1369→1376)

yes: repeatedly output a string (with 10K line safety limit)
realpath: resolve absolute pathname with . and .. normalization

https://claude.ai/code/session_012rzB3FRw7yoQWCG1mxyW7J
@chaliy chaliy force-pushed the claude/bashkit-bash-compatibility-BsDKD branch from 53fcd27 to ac9a418 Compare February 25, 2026 06:07
@chaliy chaliy merged commit 87519dc into main Feb 25, 2026
16 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