Skip to content

Conversation

@irbeam256
Copy link

Closes #7903

Extends uptime with a pretty printing flag similar to the procps-ng version.

@irbeam256 irbeam256 force-pushed the 7903_pretty_print branch 2 times, most recently from 131ddc4 to 42a5e5d Compare May 11, 2025 02:02
@sylvestre
Copy link
Contributor

@github-actions
Copy link

GNU testsuite comparison:

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

@github-actions
Copy link

GNU testsuite comparison:

Skipping an intermittent issue tests/timeout/timeout (passes in this run but fails in the 'main' branch)

@github-actions
Copy link

GNU testsuite comparison:

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

@sylvestre
Copy link
Contributor

@github-actions
Copy link

GNU testsuite comparison:

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

@irbeam256
Copy link
Author

My bad, documented now.

@github-actions
Copy link

GNU testsuite comparison:

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

@github-actions
Copy link

GNU testsuite comparison:

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

@github-actions
Copy link

GNU testsuite comparison:

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

@irbeam256 irbeam256 force-pushed the 7903_pretty_print branch from ceac40e to 0f122bd Compare May 22, 2025 04:05
@cakebaker
Copy link
Contributor

Somehow your commit contains many things unrelated to uptime :|

@sylvestre
Copy link
Contributor

and conflicts :)

@oech3
Copy link
Contributor

oech3 commented Dec 5, 2025

Considering GNU stopped building kill,more,uptime,hostname by default (because most distribution builds it from different project) and this is related with procps-ng, I think we should (re)move them (to different repo e.g. https://github.com/uutils/procps) instead of extending them.

@sylvestre
Copy link
Contributor

lot of conflicts, please reopen when ready

@sylvestre sylvestre closed this Dec 26, 2025
Ivan-Shaml added a commit to Ivan-Shaml/coreutils-fork that referenced this pull request Jan 9, 2026
sylvestre pushed a commit that referenced this pull request Jan 11, 2026
* uptime: Add -p, --pretty argument

Rebase of PR #7910
All credits go to GitHub User: https://github.com/irbeam256

* Add localization for "up"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

uptime: Add -p, --pretty show uptime in pretty format option

5 participants