summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2011-02-13 12:35:02 +0000
committerschwarze <schwarze@openbsd.org>2011-02-13 12:35:02 +0000
commit20f83855d9648b8b9f22376a103bec1b77d71543 (patch)
treec16cf17c3e387a168aed25025ac3df9b382ebbc5
parentUnbreak previous commit by adding the proper header file. (diff)
downloadwireguard-openbsd-20f83855d9648b8b9f22376a103bec1b77d71543.tar.xz
wireguard-openbsd-20f83855d9648b8b9f22376a103bec1b77d71543.zip
As noticed by Clint Pachl <pachl at ecentryx dot com>,
it is easy to miss a blank character in an example, so explicitely state that whitespace causes the issue; while here, mention that shell metacharacters cause danger as well; ok otto@ sthen@ jmc@
-rw-r--r--usr.bin/find/find.17
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/find/find.1 b/usr.bin/find/find.1
index 0dd9577a082..fe6c637b0e3 100644
--- a/usr.bin/find/find.1
+++ b/usr.bin/find/find.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: find.1,v 1.81 2010/09/29 07:44:56 jmc Exp $
+.\" $OpenBSD: find.1,v 1.82 2011/02/13 12:35:02 schwarze Exp $
.\" Copyright (c) 1990, 1993
.\" The Regents of the University of California. All rights reserved.
.\"
@@ -31,7 +31,7 @@
.\"
.\" from: @(#)find.1 8.1 (Berkeley) 6/6/93
.\"
-.Dd $Mdocdate: September 29 2010 $
+.Dd $Mdocdate: February 13 2011 $
.Dt FIND 1
.Os
.Sh NAME
@@ -643,7 +643,8 @@ and
.Ql \&;
may have to be escaped from the shell.
.Pp
-Passing the output of
+As file names may contain whitespace and shell metacharacters,
+passing the output of
.Nm
to other programs requires some care:
.Pp