gcc-patches@gcc.gnu.org
[Top] [All Lists]

Re: [committed] Fix fixincludes/check.tpl for CVS->subversion

Subject: Re: [committed] Fix fixincludes/check.tpl for CVS->subversion
From: Andreas Jaeger
Date: Sun, 13 Nov 2005 09:42:03 +0100
Bruce Korb <bruce_korb@xxxxxxxxxxxx> writes:

> On Friday 11 November 2005 12:31 am, Paolo wrote:
>
>> find * -type f -print | \
>> +fgrep -v 'CVS/' \
>> 
>> 
>> fgrep -v 'CVS/' | \
>> 
>>     fgrep -v '.svn/' > ${TESTDIR}/LIST 
>> 
>> 
>> I think it is more portable than Andreas Schwab's proposal.
>> 
>> Paolo
>
> Hi Paolo,
>
> I missed this message from the thread.  I do not know why it
> would be more portable.  The "-prune" thing ought to work on
> all the finds I know about, but I'll take your word for it.
> That leaves two fgreps (as above) or one egrep:
>
>    egrep -v 'CVS/|\.svn/'
>
> I'll defer to portability experts.  :)

I'll submit now with two fgreps so that the functionality is in.  If
the portability experts have a better and portable solution, I suggest
they commit it,

Andreas
-- 
 Andreas Jaeger, aj@xxxxxxx, http://www.suse.de/~aj
  SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126
<Prev in Thread] Current Thread [Next in Thread>