Re: [PATCH 2/3] Use File::Find rather than find and xargs in git-archimport
- From
Randal L. Schwartz <merlyn@stonehenge.com>
- Date
- Feb 10, 2006, 23:47 UTC
- Message-ID
- <86k6c2ojx6.fsf@blue.stonehenge.com>
- In-Reply-To
- <1103.1139614557@lotus.CS.Berkeley.EDU>
>>>>> "Jason" == Jason Riedy <ejr@EECS.Berkeley.EDU> writes:
Jason> + if (-f && !-z && /^.*\.patch$/ && !/{arch}/) {If that works, it's only accidentally. Perhaps you wanted !/\{arch\}/ because curlies are special to regex. Dunno, because I don't know what you're excluding.
-- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!