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



David Laight <david%l8s.co.uk@localhost> writes:

> On Wed, Nov 10, 2010 at 06:19:25PM +0000, David Holland wrote:
>> On Wed, Nov 10, 2010 at 01:34:02PM +0000, Christos Zoulas wrote:
>>  > >Christos seems to have made the same mistake as you, confusing "-exec
>>  > >... \;" (which runs a separate child program for each file name) with
>>  > >"-exec ... +" (which passes many file names to each invocation of the
>>  > >child program).
>>  > 
>>  > Yes, I did not know about exec {} +
>> 
>> Neither did I; when was it invented? Did the POSIX folks come up with
>> something good for a change?
>
> Ditto - which probably means it is less portable that -print0 :-)

New to me too, but it appears to work fine on Solaris 10, GNU findutils (thus
Linux), and NetBSD.

-- 
                                Jim Wise
                                jwise%draga.com@localhost

Attachment: pgpT0L1oZLqhF.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index