From 7337076ecf1814d73b3b2c96fc42605925280952 Mon Sep 17 00:00:00 2001 From: =?utf8?q?P=C3=A1draig=20Brady?= Date: Mon, 23 Sep 2024 20:53:25 +0100 Subject: [PATCH] doc: improve printf(1) reference in echo man page * src/echo.c (usage): Use printf(1) rather than 'printf', which is marked up more appropriately, and can be referenced by some man page readers. Fixes https://bugs.gnu.org/72914 --- src/echo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/echo.c b/src/echo.c index 11290f6f1d..4cc269c381 100644 --- a/src/echo.c +++ b/src/echo.c @@ -82,7 +82,7 @@ If -e is in effect, the following sequences are recognized:\n\ "), stdout); printf (USAGE_BUILTIN_WARNING, PROGRAM_NAME); fputs (_("\n\ -Consider using the 'printf' command instead,\n\ +Consider using the printf(1) command instead,\n\ as it avoids problems when outputting option-like strings.\n\ "), stdout); emit_ancillary_info (PROGRAM_NAME); -- 2.47.2