Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

timeout: words after DURATION are still parsed as options

Open
#15,188 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@SichenLiang is already working on this.

Since Oct 7, 2026.

  • #15189 by @SichenLiang — open

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
20/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
rust
Domain
cli

Research direction

The issue identifies the timeout command and provides reproducing invocations, but names no source file or test. Read the timeout implementation and its existing tests, then compare behavior for coreutils timeout 5 -s KILL true and coreutils timeout 5 -X. Done means arguments after DURATION are treated as the command and the resulting behavior matches GNU; a linked pull request is already open.

Written by the indexing model from the issue text.

Description

S - In progress U - timeout

GNU treats the word after DURATION as COMMAND, even when it begins with -. uutils continues parsing options there.

Here, coreutils is the uutils multicall binary built with --features unix.

$ coreutils timeout 5 -s KILL true

uutils parses -s KILL, runs true, and exits 0. GNU tries to run a command named -s and exits 127. Likewise, timeout 5 -X is an option error with status 125 in uutils, but a missing command with status 127 in GNU.

I have a fix ready and will open the PR soon.

Dominant language
Rust
Stars
24.3k
Forks
2.1k
Avg merge
2d 15m
Merged PRs (30d)
320

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

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.

More from uutils/coreutils

All issues in uutils/coreutils

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.