From: Randal L. Schwartz Date: Fri, 10 Feb 2006 23:47:49 GMT Subject: Re: [PATCH 2/3] Use File::Find rather than find and xargs in git-archimport Message-ID: <86k6c2ojx6.fsf@blue.stonehenge.com> In-Reply-To: <1103.1139614557@lotus.CS.Berkeley.EDU> >>>>> "Jason" == Jason Riedy 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 Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!