]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r207485: pathchk(1): Fix the example so it allows arbitrary pathnames.
authorjilles <jilles@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 9 May 2010 19:32:37 +0000 (19:32 +0000)
committerjilles <jilles@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 9 May 2010 19:32:37 +0000 (19:32 +0000)
commitaa0bfdabb9642760e64bd5eb27aeea8436ec5eab
tree2b2c51ac565c158ad508f2de144cbe5aecc03e12
parent536c95b40094676dddf4248a3dfda2e2d81f0eef
MFC r207485: pathchk(1): Fix the example so it allows arbitrary pathnames.

Spaces and various other characters in pathnames are not passed through
literally by xargs in its default mode. Instead, use find . -exec ... {} +

Although the -- argument is not strictly required here, add it anyway to
avoid surprises when modifying the code to find -f -somedir ...

git-svn-id: svn://svn.freebsd.org/base/stable/8@207827 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.bin/pathchk/pathchk.1