Method using "bc" to first convert from Hex to Octal, the using "echo" to convert from Octal to Character.
The "cat -v" is just to avoid displaying real control codes.
Hi All,
I want to convert below Hex value to Dec value in each column .How to do it ? This data is in a 1 file.
4e20 0475
2710 010f
7530 69a2
7530 7e2f
4e20 02dd
7530 6299
4e20 0c0a
7530 69a2
4e20 0a0b
2710 0048
7530 7955
4e20 0d23
7530 622d
7530 9121
2710 001f
7530 7d3f (6 Replies)
i want to convert Hex value To EBCDIC value.
i tried to convert hex to ascii and then to ebcdic but it doesn't give desired results .
it doesn't give corresponding ebcdic value instead it gives some junk values.
e.g;
Hex EBCDIC
-----------------
81 a
82 b
83 c
84 d
85 e
86 f
87... (6 Replies)
Hi,
please tell me how to convert hex number to decimal
000000E7
000000000002640D
0000000000025B16
and seconds to minutes, hours, days, months, years
bytes to kbytes, mbytes , gbytes
read the following examples
while read a b
do
printf "%5d %5d\n" "0x$a" "0x$b"
done < "$FILE"... (15 Replies)
Please Help Me! about the problem down under.
I have 2 files with nearly the same characteristics, I have to convert one to the other format or the other format to one's format. I want to write it with awk.
The first file contain lines like this:
300000001#A#Y#Y#Y#Y
The other file contain... (4 Replies)
Hi,
I am a bit stuck with displaying characters. I am having values like below in the proper displayable characters. which I would want to print the actual value on the right hand side. I dont want to create an array because I would have to create 255 different values. isnt there another way of... (17 Replies)
Hi,
i want to convert number 5860533159 to hexadecimal. i need to use perl.
i used
$foo = 5860533159;
$hexval3 = sprintf("%#x", $foo);
i am getting value as 0xffffffff.
i need to get value as 0x15D50A3A7. when i converted using google calculator, i got the correct value, expected... (9 Replies)
can someone help me in converting hex streams to decimal values using perl script
Hex value:
$my_hex_stream="0c07ac14001676";
Every hex value in the above stream should be converted in to decimal and separated by comma.
The output should be: 12,07,172,20,00,22,118 (2 Replies)
When I try to convert big numbers I get extra numbers at the end that doesn't move plus an L character too. How to remove the 4 extra characters at the end 000L?
8b8dbbc584d9c000L
8b8dc4ddd34c6000L
8b8dcdf621bf0000L
8b8dd70e7031a000L
8b8de026bea44000L
#!/usr/bin/python
... (9 Replies)
Discussion started by: bigvito19
9 Replies
LEARN ABOUT DEBIAN
hex-a-hop
Hex-a-hop(6)Hex-a-hop(6)NAME
hex-a-hop - puzzle game based on hexagonal tiles
DESCRIPTION
Hex-a-hop is a puzzle game based on hexagonal tiles. There is no time limit and no real-time element.
The objective is simply to destroy all the green hexagonal tiles on each of the 100 levels. As you progress through the game, more types of
tiles are introduced which make things more difficult and interesting.
USAGE
You can move the character around with the keys Q,W,E,A,S,D, or with the numeric keypad. Alternatively, you can use the mouse and click on
the tile you'd like to move to.
Use 'U', backspace or the right mouse button to undo mistakes. The 'Esc' key (or middle mouse button) brings up a menu from which you can
restart if you get stuck.
Your goal is to break all the green tiles. You mainly do this by jumping on them. They will crack when you land on them, and only disinte-
grate when you jump off. Try not to trap yourself!
During the game, you will be given hints and instructions on what to do. Use the cursor keys or click on the arrows to scroll through the
help pages. More pages will be added as you progress through the game, as new tiles will keep appearing.
You can choose which level to attempt next from the map screen. Silver levels are ones you've cleared. Black levels are ones you haven't
completed yet, but are available to play.
There is no time limit and no real-time element, so take as long as you like.
SEE ALSO
You can find more about the game on its homepage: http://www.aceinternet.co.uk/~mokona/
In Debian's version, game data is stored in the directory $HOME/.hex-a-hop/. If the environment variable $HOME is not set, it'll use /tmp/
instead.
AUTHOR
The game has been written by Tom Beaumont, and is distributed under the GNU General Public License, either version 2 of the License, or (at
your option) any later version.
Hex-a-hop(6)