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

ptx: break file missing path in error message

Open Beginner friendly
#15,307 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@ozenyunus35 is already working on this.

Since Oct 14, 2026.

  • #15328 by @ozenyunus35 — open

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
82/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
rust
Domain
cli

Research direction

The bug is in src/uu/ptx/src/ptx.rs around lines 148-149, where the break file is opened and its error is produced. Reproduce with cargo run -q ptx -b test and confirm the message prints an empty path. Done when the error names the path passed to -b, for example ptx: test: No such file or directory.

Written by the indexing model from the issue text.

Description

U - ptx

When specifying breaking file path in ptx, the error message contains no path, an empty string instead:

Reproduce
$ cargo run -q ptx -b test
ptx: : No such file or directory
Suspected line of code

https://github.com/uutils/coreutils/blob/1747ba15b6afede4ac16766a7b6fc4e80f1e17a4/src/uu/ptx/src/ptx.rs#L148-L149

Dominant language
Rust
Stars
24.2k
Forks
2.1k
Avg merge
1d 15h
Merged PRs (30d)
336

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.