Source-Changes-D archive

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

re: CVS commit: src/usr.bin/pathchk



> On Wed, 10 Nov 2010, Christoph Badura wrote:
> > On Tue, Nov 09, 2010 at 08:34:56PM +0000, Alan Barrett wrote:
> > > 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.
> > 
> > Why not save all the forks and use "find . -print0 | xargs -0 pathchk -p"?

on netbsd i recommend using -printx, and then you don't have to deal
with NULLs or "xargs -0".


.mrg.


Home | Main Index | Thread Index | Old Index