Thread (4 messages) 4 messages, 3 authors, 2025-12-17

[PATCH] man/man7/man.7: Don't warn if groff_man.7 is not installed

From: Ash Holland <hidden>
Date: 2025-12-09 21:41:06
Subsystem: the rest · Maintainer: Linus Torvalds

When I invoke e.g. `man man`, I see a warning:

    /home/ash/.nix-profile/bin/man: can't resolve man7/groff_man.7

This is observed by others too: <https://askubuntu.com/q/1521258/478436>

To avoid this, we can simply ask troff not to emit this message:
<https://www.gnu.org/software/groff/manual/groff.html#index-_002esoquiet>

Signed-off-by: Ash Holland <redacted>
---
 man/man7/man.7 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/man/man7/man.7 b/man/man7/man.7
index f460f4ad3..cdf019063 100644
--- a/man/man7/man.7
+++ b/man/man7/man.7
@@ -1 +1 @@
-.so man7/groff_man.7
+.soquiet man7/groff_man.7
-- 
2.51.2
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help