uutils / uutils/coreutils

put "GNU" somewhere in --version

Open
#4,849 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
24.1k
Forks
2k
Avg merge
1d 5h
Merged PRs (30d)
365

Description

In my scripts if I depend on GNU versions of programs I have bits like this

fooversion="$(foo --version)"
case "$fooversion" in
    *GNU*) foo=foo ;;
    *) echo 'incompatable version of foo, please install GNU foo' ; exit 1 ;;
esac

you should add something like "compatible with GNU foo" in the --version menu

LLVM does this

llvm-strip, compatible with GNU strip
LLVM (http://llvm.org/):
  LLVM version 16.0.3
  Optimized build.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating how the coreutils commands handle --version and compare their output with the LLVM example in the issue. Determine which command versions are in scope, then ensure the output includes a GNU compatibility marker without breaking existing version behavior; run the relevant command-line tests if present.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.