Gentoo Archives: gentoo-dev

From: "Michael Sterrett -Mr. Bones.-" <msterret@××××.com>
To: Andrew Gaffney <agaffney@×××××××××××××××××××.net>
Cc: Gentoo Dev <gentoo-dev@g.o>
Subject: [gentoo-dev] Re: CONTENTS file
Date: Sat, 11 Oct 2003 19:49:30
Message-Id: Pine.LNX.4.44.0310111546330.4247-100000@blackhole.coat.com
In Reply to: [gentoo-dev] CONTENTS file by Andrew Gaffney
1 On Sat, 11 Oct 2003, Andrew Gaffney wrote:
2
3 > I'm writing a Perl script that verifies file MD5SUMs against what portage recorded in
4 > /var/db/pkg/category/package/CONTENTS at install. I'm wondering what would happen in that
5 > file if some package were to install a file that had a space in the name. Currently, a
6 > line looks like:
7 >
8 > obj /usr/libexec/webmin/acl/defaultacl a6897506f8609645d3a215988d1a937c 1063945574
9 >
10 > This can easily be pulled apart with a regex, but what if it looked like this:
11 >
12 > obj /usr/libexec/webmin/acl/default acl a6897506f8609645d3a215988d1a937c 1063945574
13
14 Both lines can easily be pulled apart with a perl regex.
15
16 Michael Sterrett
17 -Mr. Bones.-
18 mr_bones_@g.o
19
20
21 --
22 gentoo-dev@g.o mailing list