Re: PROPOSAL: /proc standards (was dot-proc interface [was: /proc

Erik Andersen
2001-11-06T22:28:48Z

On Tue Nov 06, 2001 at 07:24:13PM -0200, Rik van Riel wrote:
> I really fail to see your point, it's trivial to make
> files which are easy to read by humans and also very
> easy to parse by shellscripts.
>
> PROCESSOR=0
> VENDOR_ID=GenuineIntel
> CPU_FAMILY=6
> MODEL=6
> MODEL_NAME="Celeron (Mendocino)"
> .....
>
> As you can see, this is easily readable by humans,
> while "parsing" by a shell script would be as follows:
>
> . /proc/cpuinfo
>
> After which you could just "echo $PROCESSOR" or
> something like that ...

I think we have a winner! If we could establish this
as policy that would be _sweet_!

-Erik

--
Erik B. Andersen http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--