Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: mgorny@g.o
Cc: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Use GLEP27!
Date: Tue, 15 Dec 2015 15:10:49
Message-Id: 20151215151038.GW11489@vapier.lan
In Reply to: Re: [gentoo-dev] Use GLEP27! by "Michał Górny"
1 On 15 Dec 2015 16:00, Michał Górny wrote:
2 > On Tue, 15 Dec 2015 15:56:34 +0100 Ulrich Mueller wrote:
3 > > >>>>> On Tue, 15 Dec 2015, Mike Frysinger wrote:
4 > >
5 > > > a flat text file akin to /etc/passwd is not readable. xml is readable.
6 > >
7 > > ESR's case study about the password file format seems to disagree:
8 > > http://www.catb.org/esr/writings/taoup/html/ch05s01.html#id2901332
9 > >
10 > > I think the name:password:uid:gid:gecos:directory:shell format is
11 > > readable well enough for human eyes. Certainly it is machine readable;
12 > > even with standard tools like fgetpwent(3) (or its equivalent in other
13 > > programming languages).
14 >
15 > Alternatively we could go for whitespace-separated, like fstab. Column
16 > aligning even more.
17
18 we cannot because whitespace is valid, and we use it already in fields
19 -mike

Attachments

File name MIME type
signature.asc application/pgp-signature