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