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

sysctl: -N repeats the name of a multi-line variable

Open
#810 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@SichenLiang is already working on this.

Since Oct 4, 2026.

  • #812 by @SichenLiang — open

Assessment

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

Research direction

Start at the sysctl command entry point and inspect how -N, --names, and -n format output for multi-line values. Check existing sysctl tests and add or adjust coverage for kernel.core_modes; done means the variable name is printed once and the command exits with status 0. An open linked pull request (#812) is already addressing this issue.

Written by the indexing model from the issue text.

Description

With -N, uutils prints a variable name once for every line in its value. procps-ng 4.0.7 prints the name once.

$ procps sysctl -N kernel.core_modes; echo $?
kernel.core_modes
kernel.core_modes
kernel.core_modes
0

$ /usr/sbin/sysctl -N kernel.core_modes; echo $?
kernel.core_modes
0

--names and -N -n behave the same way.

Dominant language
Rust
Stars
116
Forks
40
Avg merge
23h 19m
Merged PRs (30d)
19

Getting set up

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/procps

All issues in uutils/procps

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.