Module Name: src
Committed By: gutteridge
Date: Tue May 14 01:32:25 UTC 2024
Modified Files:
src/bin/echo: echo.1
Log Message:
echo.1: borrow advice about printf(1) from the OpenBSD man page
To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/bin/echo/echo.1
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/bin/echo/echo.1
diff -u src/bin/echo/echo.1:1.19 src/bin/echo/echo.1:1.20
--- src/bin/echo/echo.1:1.19 Wed Feb 26 07:14:47 2020
+++ src/bin/echo/echo.1 Tue May 14 01:32:24 2024
@@ -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