Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

echo: show version when--version is the only argument#8341

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
RenjiSann merged 2 commits intouutils:mainfromcakebaker:echo_output_version
Jul 15, 2025

Conversation

cakebaker
Copy link
Contributor

@cakebakercakebaker commentedJul 14, 2025
edited
Loading

This PR shows the version info when--version is the only argument andPOSIXLY_CORRECT is not set. It matches the behavior of GNUecho:

$ ../gnu/src/echo --versionecho (GNU coreutils) 9.7-modifiedCopyright (C) 2025 Free Software Foundation, Inc.License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.This is free software: you are free to change and redistribute it.There is NO WARRANTY, to the extent permitted by law.Written by Brian Fox and Chet Ramey.$ POSIXLY_CORRECT=1 ../gnu/src/echo --version--version

The PR also renames a test function to make the naming more consistent.

@github-actionsGitHub Actions
Copy link

GNU testsuite comparison:

Skip an intermittent issue tests/misc/tee (fails in this run but passes in the 'main' branch)

@RenjiSannRenjiSann merged commit4d08b9d intouutils:mainJul 15, 2025
116 of 117 checks passed
@cakebakercakebaker deleted the echo_output_version branchJuly 16, 2025 05:51
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@cakebaker@RenjiSann

[8]ページ先頭

©2009-2025 Movatter.jp