|
|
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
|
|