From 1290da4db36c46ef567470d635e41a79685b8994 Mon Sep 17 00:00:00 2001 From: gutteridge Date: Tue, 14 May 2024 01:32:24 +0000 Subject: [PATCH] echo.1: borrow advice about printf(1) from the OpenBSD man page --- bin/echo/echo.1 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bin/echo/echo.1 b/bin/echo/echo.1 index 1ecffddce7dd..4ffe5e044379 100644 --- a/bin/echo/echo.1 +++ b/bin/echo/echo.1 @@ -1,4 +1,4 @@ -.\" $NetBSD: echo.1,v 1.19 2020/02/26 07:14:47 wiz Exp $ +.\" $NetBSD: echo.1,v 1.20 2024/05/14 01:32:24 gutteridge Exp $ .\" .\" Copyright (c) 1990, 1993 .\" The Regents of the University of California. All rights reserved. @@ -32,7 +32,7 @@ .\" .\" @(#)echo.1 8.1 (Berkeley) 7/22/93 .\" -.Dd February 26, 2020 +.Dd May 14, 2024 .Dt ECHO 1 .Os .Sh NAME @@ -63,6 +63,8 @@ provide a built-in .Nm command which tends to differ from this utility in the treatment of options and backslashes. +Where portability is paramount, use +.Xr printf 1 . .Sh EXIT STATUS .Ex -std echo .Sh SEE ALSO