From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26464 invoked by uid 1002); 11 Oct 2003 19:49:30 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 19481 invoked from network); 11 Oct 2003 19:49:29 -0000 Date: Sat, 11 Oct 2003 15:47:53 -0400 (EDT) From: "Michael Sterrett -Mr. Bones.-" To: Andrew Gaffney cc: Gentoo Dev In-Reply-To: <3F884FE1.80708@technaut.darktalker.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [gentoo-dev] Re: CONTENTS file X-Archives-Salt: 1c3409d2-4792-4f97-97e3-2b4216775f9a X-Archives-Hash: da286ea97a99054dc41e857180084e67 On Sat, 11 Oct 2003, Andrew Gaffney wrote: > I'm writing a Perl script that verifies file MD5SUMs against what portage recorded in > /var/db/pkg/category/package/CONTENTS at install. I'm wondering what would happen in that > file if some package were to install a file that had a space in the name. Currently, a > line looks like: > > obj /usr/libexec/webmin/acl/defaultacl a6897506f8609645d3a215988d1a937c 1063945574 > > This can easily be pulled apart with a regex, but what if it looked like this: > > obj /usr/libexec/webmin/acl/default acl a6897506f8609645d3a215988d1a937c 1063945574 Both lines can easily be pulled apart with a perl regex. Michael Sterrett -Mr. Bones.- mr_bones_@gentoo.org -- gentoo-dev@gentoo.org mailing list