From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JCtLr-0001ar-4F for garchives@archives.gentoo.org; Thu, 10 Jan 2008 09:05:27 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CD8A4E0A5B; Thu, 10 Jan 2008 09:02:10 +0000 (UTC) Received: from dcnode-01.unlimitedmail.net (unknown [212.85.44.112]) by pigeon.gentoo.org (Postfix) with ESMTP id 05140E09E9 for ; Thu, 10 Jan 2008 09:02:09 +0000 (UTC) Received: from ppp.zz ([137.204.208.98]) (authenticated bits=0) by dcnode-01.unlimitedmail.net (8.14.2/8.14.0) with ESMTP id m0A91xct009415 for ; Thu, 10 Jan 2008 10:02:00 +0100 From: Etaoin Shrdlu To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: Kernel setting for frame buffer (2.6.23-r5) Date: Thu, 10 Jan 2008 10:18:35 +0100 User-Agent: KMail/1.9.7 References: <87odbu982e.fsf@newsguy.com> <200801092217.37172.shrdlu@unlimitedmail.org> <20080109235738.6c20ecaa@mating-tux> In-Reply-To: <20080109235738.6c20ecaa@mating-tux> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200801101018.35709.shrdlu@unlimitedmail.org> X-UnlimitedMail-MailScanner-From: shrdlu@unlimitedmail.org X-Spam-Status: No X-Archives-Salt: 61ed10e4-b783-4d25-b557-f2cc331375ce X-Archives-Hash: db970884b5466e69d020ca73d67d55e5 On Wednesday 9 January 2008, Renat Golubchyk wrote: > If you only want to convert one number (or an arithmetic expression) > you can write, e.g. ":echo 0x31a" in vim and be done with it. :-) >[snip] > Or an even simpler way would be > > $ echo $((0x31a)) > 794 > > Bash is really cool. It can understand numbers up to base 64. ;-) Great tips! I did not know them. Especially the bash one is really useful! Thanks -- gentoo-user@lists.gentoo.org mailing list