From: Daniel Phillips <phillips@bonn-fries.net>
To: "H. Peter Anvin" <hpa@zytor.com>, linux-kernel@vger.kernel.org
Subject: Re: RFC: /proc key naming consistency
Date: Wed, 13 Feb 2002 21:52:36 +0100 [thread overview]
Message-ID: <E16b6OL-0002Q8-00@starship.berlin> (raw)
In-Reply-To: <20020213030047.8B1FB2257B@www.webservicesolutions.com> <a4eh19$lko$1@cesium.transmeta.com>
In-Reply-To: <a4eh19$lko$1@cesium.transmeta.com>
On February 13, 2002 09:07 pm, H. Peter Anvin wrote:
> Followup to: <20020213030047.8B1FB2257B@www.webservicesolutions.com>
> By author: Mark Swanson <swansma@yahoo.com>
> In newsgroup: linux.dev.kernel
> >
> > Notice the space between "cpu" and "MHz", or "cpu" and "family" yet there
> > is no space between "fdiv" and "bug" (_).
> >
> > The reason I think NOT using a space is a good idea because it makes life
> > easier for developers parsing /proc entries. Specifically, Java
> > developers could use /proc/cpuinfo as a property file, but the space in
> > the 'key' breaks java.util.Properties.load().
> >
>
> When I and Dan Quinlan submitted the cleanup for this we used _
> everywhere. Unfortunately some other people not just added keys with
> spaces, but gracefully "corrected" our "mistakes"...
What do you think about the idea earlier in this thread of going with
shell-parsable key value pairs? I find that idea really attractive, but
there's the issue of breaking utilities (kde control panel?) that already
parse the existing format.
--
Daniel
next prev parent reply other threads:[~2002-02-13 20:48 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-13 2:50 Mark Swanson
2002-02-13 5:00 ` Cameron Simpson
2002-02-13 20:07 ` H. Peter Anvin
2002-02-13 20:52 ` Daniel Phillips [this message]
2002-02-13 21:04 ` H. Peter Anvin
2002-02-13 23:31 Luke Burton
2002-02-14 12:19 ` Miquel van Smoorenburg
2002-02-14 12:25 ` Wichert Akkerman
2002-02-14 16:09 ` Vince Weaver
2002-02-14 19:02 ` ertzog
2002-02-14 16:12 ` Alexander Viro
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E16b6OL-0002Q8-00@starship.berlin \
--to=phillips@bonn-fries.net \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®