echo.1: borrow advice about printf(1) from the OpenBSD man page

This commit is contained in:
gutteridge 2024-05-14 01:32:24 +00:00
parent 4a48b9962f
commit 1290da4db3
1 changed files with 4 additions and 2 deletions

View File

@ -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 .\" Copyright (c) 1990, 1993
.\" The Regents of the University of California. All rights reserved. .\" The Regents of the University of California. All rights reserved.
@ -32,7 +32,7 @@
.\" .\"
.\" @(#)echo.1 8.1 (Berkeley) 7/22/93 .\" @(#)echo.1 8.1 (Berkeley) 7/22/93
.\" .\"
.Dd February 26, 2020 .Dd May 14, 2024
.Dt ECHO 1 .Dt ECHO 1
.Os .Os
.Sh NAME .Sh NAME
@ -63,6 +63,8 @@ provide a built-in
.Nm .Nm
command which tends to differ from this utility in the treatment of options command which tends to differ from this utility in the treatment of options
and backslashes. and backslashes.
Where portability is paramount, use
.Xr printf 1 .
.Sh EXIT STATUS .Sh EXIT STATUS
.Ex -std echo .Ex -std echo
.Sh SEE ALSO .Sh SEE ALSO