Module Name:    src
Committed By:   apb
Date:           Tue Nov  9 20:34:55 UTC 2010

Modified Files:
        src/usr.bin/pathchk: pathchk.1

Log Message:
Change the ironically unafe "find . -print | xargs pathchk -p" to
the safe "find . -exec pathchk -p \{\} +" in an example.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/usr.bin/pathchk/pathchk.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/pathchk/pathchk.1
diff -u src/usr.bin/pathchk/pathchk.1:1.3 src/usr.bin/pathchk/pathchk.1:1.4
--- src/usr.bin/pathchk/pathchk.1:1.3	Tue Apr 15 20:40:28 2003
+++ src/usr.bin/pathchk/pathchk.1	Tue Nov  9 20:34:55 2010
@@ -1,4 +1,4 @@
-.\"	$NetBSD: pathchk.1,v 1.3 2003/04/15 20:40:28 wiz Exp $
+.\"	$NetBSD: pathchk.1,v 1.4 2010/11/09 20:34:55 apb Exp $
 .\"
 .\" Copyright (c) 2001, 2002 Chuck Rouillard
 .\" All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\" from FreeBSD: pathchk.1,v 1.3 2002/12/12 17:26:01 ru Exp
 .\"
-.Dd April 15, 2003
+.Dd Oovember 9, 2010
 .Dt PATHCHK 1
 .Os
 .Sh NAME
@@ -104,7 +104,7 @@
 .Tn POSIX
 systems:
 .Pp
-.Dl "find . -print | xargs pathchk -p"
+.Dl "find . -exec pathchk -p \e{\e} +"
 .Sh SEE ALSO
 .Xr getconf 1 ,
 .Xr pathconf 2 ,

Reply via email to