Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/pathchk add a safe alternative of the previous.



details:   https://anonhg.NetBSD.org/src/rev/9ea08819ae9f
branches:  trunk
changeset: 758590:9ea08819ae9f
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Nov 10 01:44:04 2010 +0000

description:
add a safe alternative of the previous.

diffstat:

 usr.bin/pathchk/pathchk.1 |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 05bda395d3ef -r 9ea08819ae9f usr.bin/pathchk/pathchk.1
--- a/usr.bin/pathchk/pathchk.1 Wed Nov 10 01:24:46 2010 +0000
+++ b/usr.bin/pathchk/pathchk.1 Wed Nov 10 01:44:04 2010 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: pathchk.1,v 1.4 2010/11/09 20:34:55 apb Exp $
+.\"    $NetBSD: pathchk.1,v 1.5 2010/11/10 01:44:04 christos Exp $
 .\"
 .\" Copyright (c) 2001, 2002 Chuck Rouillard
 .\" All rights reserved.
@@ -105,6 +105,8 @@
 systems:
 .Pp
 .Dl "find . -exec pathchk -p \e{\e} +"
+or the more efficient:
+.Dl "find . -print0 | xargs -0 pathchk -p"
 .Sh SEE ALSO
 .Xr getconf 1 ,
 .Xr pathconf 2 ,



Home | Main Index | Thread Index | Old Index