1 |
On Tue, 2003-10-07 at 16:23, Michael Sterrett -Mr. Bones.- wrote: |
2 |
> On Tue, 7 Oct 2003, Andrew Gaffney wrote: |
3 |
> |
4 |
> > I don't think its that big of a deal. Can't one of the devs just change |
5 |
> > user.group to user:group in the relatively small amount of affected ebuilds? |
6 |
> |
7 |
> It's not a huge deal, but it's not tiny either. There are (the last time I |
8 |
> counted) at least 400 places that need to be changed and that's just where |
9 |
> "chown" is used. That doesn't count the fowner calls. Unless there's a |
10 |
> script involved, I don't think it will be "one of the devs" fixing things |
11 |
> up on this one. |
12 |
|
13 |
Let's say you've got a file, 'foo' that contains |
14 |
----CUT---- |
15 |
chown root.root foo |
16 |
----CUT---- |
17 |
|
18 |
# echo "`cat foo | cut -d "." -f1`:`cat foo | cut -d "." -f2`" |
19 |
|
20 |
seems to work on the simple case. |
21 |
|
22 |
I'm sure someone can come up with a regex to match the dotted-chown. |
23 |
|
24 |
|
25 |
-- |
26 |
Regards, |
27 |
-Lisa |
28 |
<Vix ulla tam iniqua pax, quin bello vel aequissimo sit potior> |