Re: find and limits

2019-04-04 Thread Michał Górny
On Thu, 2019-04-04 at 10:12 +, co...@sdf.org wrote: > hi folks, > > I understand the need for correctness, but the limits for find ... -exec > are really low, and it's quite unclear why things fail when they do. > > cd /cvs/pkgsrc/fonts/urbanrenewal-ttf/ > make patch > mkdir -p

Re: find and limits

2019-04-04 Thread Valery Ushakov
co...@sdf.org wrote: > I understand the need for correctness, but the limits for find ... -exec > are really low, and it's quite unclear why things fail when they do. What limits? Limits inside find(1)? Global limit on the maximum length of a command line? > cd

Re: find and limits

2019-04-04 Thread Martin Husemann
On Thu, Apr 04, 2019 at 10:12:35AM +, co...@sdf.org wrote: > wanting to write a portable version, I have to limit myself to what > POSIX find and POSIX xargs support, which isn't much :-/ > I got this in the end: > > ${FIND} ${WRKSRC} -iname '*.ttf' -print | \ > ${XARGS}

find and limits

2019-04-04 Thread coypu
hi folks, I understand the need for correctness, but the limits for find ... -exec are really low, and it's quite unclear why things fail when they do. cd /cvs/pkgsrc/fonts/urbanrenewal-ttf/ make patch mkdir -p work/.destdir/usr/pkg/share/fonts/X11/TTF find