Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265385AbUAXQYk (ORCPT ); Sat, 24 Jan 2004 11:24:40 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S266957AbUAXQYk (ORCPT ); Sat, 24 Jan 2004 11:24:40 -0500 Received: from ns.suse.de ([195.135.220.2]:62416 "EHLO Cantor.suse.de") by vger.kernel.org with ESMTP id S265385AbUAXQYj (ORCPT ); Sat, 24 Jan 2004 11:24:39 -0500 To: "Dr. David Alan Gilbert" Cc: linux-kernel@vger.kernel.org Subject: Re: RFC: Representation of large hex values References: <20040124151156.GB1029@gallifrey> From: Andreas Schwab X-Yow: Now I'm being INVOLUNTARILY shuffled closer to the CLAM DIP with the BROKEN PLASTIC FORKS in it!! Date: Sat, 24 Jan 2004 17:24:38 +0100 In-Reply-To: <20040124151156.GB1029@gallifrey> (David Alan Gilbert's message of "Sat, 24 Jan 2004 15:11:56 +0000") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 848 Lines: 21 "Dr. David Alan Gilbert" writes: > For clarity, it would seem best to use a distinct format character; > so perhaps prefix these numbers by 0y (read Oi!) and then you > could use %y (and %Y if you REALLY want) in printf. POSIX defines the ' flag to enable use of thousand separators for decimal formats. This could easily be extended to hex formats. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux AG, Maxfeldstra?e 5, 90409 N?rnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." - 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/