Skip to content
This repository was archived by the owner on Feb 11, 2026. It is now read-only.

implement proof of concept for du -bkB#114

Merged
tertsdiepraam merged 1 commit intouutils:mainfrom
BenWiederhake:dev-du
Apr 12, 2025
Merged

implement proof of concept for du -bkB#114
tertsdiepraam merged 1 commit intouutils:mainfrom
BenWiederhake:dev-du

Conversation

@BenWiederhake
Copy link
Copy Markdown
Contributor

@BenWiederhake BenWiederhake commented Mar 30, 2024

This PR demonstrates how easily the partial-override semantics can be achieved without clap.

Example:

$ du -k LICENSE 
4    LICENSE
$ du -bk LICENSE 
2    LICENSE
$ du -kb LICENSE 
1056    LICENSE

Although this PR technically doesn't depend on #113, I developed on top of it to reduce conflicts, and hence mark this as draft.

Related: #15

@BenWiederhake BenWiederhake marked this pull request as draft March 30, 2024 18:47
@BenWiederhake BenWiederhake marked this pull request as ready for review April 11, 2025 22:53
@BenWiederhake
Copy link
Copy Markdown
Contributor Author

Changes since last push:

  • Rebased, slightly rephrased
  • fixed date typos (ugh)
  • simplified #[arg] declarations

Comment thread tests/coreutils/du.rs Outdated
@BenWiederhake
Copy link
Copy Markdown
Contributor Author

Changes since last push:

  • actually fixed date typos (ugh)
  • actually simplified #[arg] declarations

@tertsdiepraam tertsdiepraam merged commit 3e7b411 into uutils:main Apr 12, 2025
4 checks passed
@BenWiederhake BenWiederhake deleted the dev-du branch April 12, 2025 14:42
BenWiederhake added a commit to BenWiederhake/coreutils-rs that referenced this pull request Apr 16, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants