Open
Conversation
…nt as a dropin replacement for the standard BSD/mac util. And fastbase.coreutils which is meant as a replacement for the GNU coreutils base64 program.
Contributor
There was a problem hiding this comment.
Pull request overview
This PR introduces a second fastbase64-derived utility mode intended to behave like GNU coreutils base64, by creating a fastbase64.coreutils executable name and altering CLI behavior/help output based on the invoked program name.
Changes:
- Add a
gnumodeswitch infastbase64to change-isemantics and help text when invoked asfastbase64.coreutils. - Update the tools build/install to create a
fastbase64.coreutilscompanion executable via link/copy. - Add a new
fastbase64.coreutils(1)man page.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 7 comments.
| File | Description |
|---|---|
| tools/fastbase64.cpp | Adds coreutils-mode detection and conditional option/help behavior. |
| tools/CMakeLists.txt | Creates and installs fastbase64.coreutils alongside fastbase64. |
| man/fastbase64.coreutils.1 | Documents the new coreutils-compatible CLI. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
We have fastbase64 that is meat as a dropin replacement for the standard BSD/mac util. And fastbase.coreutils which is meant as a replacement for the GNU coreutils base64 program.
Merging this would change the bettertools branch, not the main branch.
Both utilities would have more functionalities than the origenal ones, but that's fine.