All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Frank <mhf@linuxmail.org>
To: vda <vda@port.imtp.ilyichevsk.odessa.ua>,
	Michael Hayes <mike@aiinc.ca>,
	linux-kernel@vger.kernel.org
Subject: Printk message and numbers formating - was Spelling in 2.6.2
Date: Wed, 11 Feb 2004 20:43:43 +0800	[thread overview]
Message-ID: <200402111904.50598.mhf@linuxmail.org> (raw)
In-Reply-To: <200402111136.03712.vda@port.imtp.ilyichevsk.odessa.ua>

On Wednesday 11 February 2004 17:36, vda wrote:
> On Tuesday 10 February 2004 22:09, Michael Hayes wrote:
> > Relax, this is not a spelling patch.
> >
> > I was curious how fast spelling errors flow into the kernel, so I
> > looked at the + lines in the 2.6.2 patch.  A few of the errors
> > already existed, but most of them are new.  It turns out that there
> > are around 200 new spelling errors in 2.6.2.
> >
> > A "wether" (castrated goat) has appeared, along with a "Rusell" that
> > should be stamped out before it spreads.  Someone had a dreadful time
> > with "technology" and its variants, spelling it wrong 9 different ways.
> >
> > Here's what I found:
> >
> > File                                      Error            Should be       #
> 
> :))
> 
> Before all the bizzare mispels are dealed with, let me
> beg for "dont" and "cant" be pardoned. We dont enforce
> "double space after period" and "always terminate log messages
> with a period" rules, because those do no good and

Concur, pleae lets allow dont and cant.

Can we have a rule that periods terminating kernel messages 
are depreciated?

> cant lead to misinterpretations anyway.
> Dunno why, but /me thinks the same applies to donts and cants.

Just wastes space on the line, should this be depreciated?

> 
> And I just feel that ' is a string delimiter and "don't" hurts
> my eye.

Concur,

As to printing numbers, which form to use?

Should numbers in parenthesis be depreciated?

printk("Count is (%d)\n");

What about colons?

printk"Count is: %d\n");

Or just straight and simple:

printk("Count is %d\n");

Numbers in a sentence:

printk("Size %d is too big, adjusted to %d\n");
printk("Size %d is too big, adjusted to: %d\n");

Regards
Michael



  reply	other threads:[~2004-02-11 15:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-10 20:09 Spelling in 2.6.2 Michael Hayes
2004-02-10 20:54 ` DervishD
2004-02-11  1:19 ` Randy.Dunlap
2004-02-11 11:06   ` Geert Uytterhoeven
2004-02-11  9:36 ` vda
2004-02-11 12:43   ` Michael Frank [this message]
2004-02-11 18:02 ` Tomas Szepe
2004-02-14  0:46 ` Pavel Machek

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=200402111904.50598.mhf@linuxmail.org \
    --to=mhf@linuxmail.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mike@aiinc.ca \
    --cc=vda@port.imtp.ilyichevsk.odessa.ua \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.