Gentoo Archives: gentoo-user

From: Etaoin Shrdlu <shrdlu@×××××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Kernel setting for frame buffer (2.6.23-r5)
Date: Thu, 10 Jan 2008 09:05:27
Message-Id: 200801101018.35709.shrdlu@unlimitedmail.org
In Reply to: Re: [gentoo-user] Re: Kernel setting for frame buffer (2.6.23-r5) by Renat Golubchyk
1 On Wednesday 9 January 2008, Renat Golubchyk wrote:
2
3 > If you only want to convert one number (or an arithmetic expression)
4 > you can write, e.g. ":echo 0x31a" in vim and be done with it. :-)
5 >[snip]
6 > Or an even simpler way would be
7 >
8 > $ echo $((0x31a))
9 > 794
10 >
11 > Bash is really cool. It can understand numbers up to base 64. ;-)
12
13 Great tips! I did not know them. Especially the bash one is really
14 useful!
15
16 Thanks
17 --
18 gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Re: Kernel setting for frame buffer (2.6.23-r5) Roy Wright <roy@××××××.org>