Re: cvs: php4 /scripts credits
| From: | Jason Greene | Date: | Fri, 15 Mar 2002 18:45:48 +0000 |
| Subject: | Re: cvs: php4 /scripts credits | ||
| References: | 1 2 3 4 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-10166@lists.php.net to get a copy of this message | ||
Hey your talking to a guy who still tries to use bit-shifting in place
of multiplication.
:)
-jason
On Fri, 2002-03-15 at 02:56, Stig S. Bakken wrote:
> 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
>
--
Jason T. Greene
Internet Software Engineer
<jason@inetgurus.net>
<jason@php.net>
<jason.greene@tdstelecom.com>
Use PHP: http://www.php.net