Re: cvs: php4 /scripts credits
| From: | Stig S. Bakken | Date: | Fri, 15 Mar 2002 08:56:51 +0000 |
| Subject: | Re: cvs: php4 /scripts credits | ||
| References: | 1 2 3 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-10139@lists.php.net to get a copy of this message | ||
On Thu, 2002-03-14 at 15:48, Jason Greene wrote:
> On Thu, 2002-03-14 at 04:28, Hartmut Holzgraefe wrote:
> > Adam Maccabee Trachtenberg wrote:
> > > No need for grep, you can use find directly.
> > >
> > > find "$what" -name CREDITS -not -path "$what/skeleton/CREDITS'
> >
> > '-not' and '-path' are not portable
> >
> > '-not' can be replaced by '-a !', but there is no substitute for
> > '-path' in eg. the find binary that comes with solaris
> >
> > --
> > Hartmut Holzgraefe hartmut@six.de http://www.six.de
> > +49-711-99091-77
> >
> > Wir stellen für Sie aus auf der CeBIT 2002 und freuen uns
> > in Halle 6 auf Ihren Besuch am Stand H 18
> >
>
> Also, using -exec would not be a good idea because you would be
> unnecessarily causing a fork()/exec() for every CREDITS file in the
> tree. xargs could be used, but that increases the requirements for
> installed programs, as well as another fork()/exec()
Well, it's not like it matters, we're not exactly regenerating the
credits for every request to PHP ;-)
- Stig