1 |
On Mon, 02 Oct 2006 21:28:21 -0700 |
2 |
Donnie Berkholz <dberkholz@g.o> wrote: |
3 |
|
4 |
> Mike Kelly wrote: |
5 |
> > All the files are handled like other files in cascading profiles. |
6 |
> > Each line in the file is either a shell-style comment, or of the |
7 |
> > form: "key: value". The keys are: uid, shell, home, groups, |
8 |
> > comment, and gid. |
9 |
> |
10 |
> I'd prefer that the format be key=value for easier use by bash, as |
11 |
> pretty much everything else in profiles is bash. |
12 |
|
13 |
I would as well, since my code is written written in bash and that |
14 |
would make it easier on me. I had tried to do it that way before, |
15 |
but some folks suggested changing it to what it is now, although I |
16 |
really forget why. |
17 |
|
18 |
Only issue I can think of is that we'd have to be sure to pick key |
19 |
names that don't conflict with bash variables like UID and SHELL, which |
20 |
shouldn't really be that hard, so I'm sure there had to be some |
21 |
stronger reason to not make it shell variables... I'll dig through logs |
22 |
and try to figure out what it was. |
23 |
|
24 |
-- |
25 |
Mike Kelly |
26 |
-- |
27 |
gentoo-dev@g.o mailing list |