Linux Manual Pages development
 help / color / mirror / Atom feed
* [PATCH] man/man7/man.7: Don't warn if groff_man.7 is not installed
@ 2025-12-09 21:38 Ash Holland
  2025-12-09 21:51 ` G. Branden Robinson
  0 siblings, 1 reply; 4+ messages in thread
From: Ash Holland @ 2025-12-09 21:38 UTC (permalink / raw)
  To: Alejandro Colomar; +Cc: Ash Holland, linux-man

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 <x-hv2j5m@keysmash.solutions>
---
 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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-12-17 19:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-09 21:38 [PATCH] man/man7/man.7: Don't warn if groff_man.7 is not installed Ash Holland
2025-12-09 21:51 ` G. Branden Robinson
2025-12-09 23:18   ` Alejandro Colomar
2025-12-17 19:01     ` G. Branden Robinson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox