Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1422727AbWATCDO (ORCPT ); Thu, 19 Jan 2006 21:03:14 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1422729AbWATCDN (ORCPT ); Thu, 19 Jan 2006 21:03:13 -0500 Received: from twinlark.arctic.org ([207.7.145.18]:9134 "EHLO twinlark.arctic.org") by vger.kernel.org with ESMTP id S1422727AbWATCDN (ORCPT ); Thu, 19 Jan 2006 21:03:13 -0500 Date: Thu, 19 Jan 2006 18:03:10 -0800 (PST) From: dean gaudet To: "Jeff V. Merkey" cc: Linux Kernel Mailing List Subject: Re: Inserting Commas into Those Big Numbers In-Reply-To: <43CF1CCF.20007@wolfmountaingroup.com> Message-ID: References: <43CF1CCF.20007@wolfmountaingroup.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 734 Lines: 17 On Wed, 18 Jan 2006, Jeff V. Merkey wrote: > If anyone cares to make the kernel output more readable, heres a code snippet > that formats any text string with numbers (decimal) to > insert commas. I am too old and going blind looking at computer screen with > these long numbers. If useful to anyone, enjoy. you know i wish C99 had mandated support for numbers like 1_000_000 or 0x0123_4567_89ab_cdef. (not sure if Ada originated this style, but that's where i first saw it.) -dean - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/