Ufffff....man
max@studio:~/tmp> cat test
Il professor amastra fa un salto di gioia se gli comprano un Data Glove.
Speriamo che Babbo Nataler questy' anno sia buono.
max@studio:~/tmp> hexdump -C test.huf
00000000 00 20 0a 00 00 00 03 20 00 00 00 14 27 00 00 00 |. ..... ....'...|
00000010 01 2e 00 00 00 02 42 00 00 00 01 44 00 00 00 01 |......B....D....|
00000020 47 00 00 00 01 49 00 00 00 01 4e 00 00 00 01 53 |G....I....N....S|
00000030 00 00 00 01 61 00 00 00 0f 62 00 00 00 03 63 00 |....a....b....c.|
00000040 00 00 02 64 00 00 00 01 65 00 00 00 07 66 00 00 |...d....e....f..|
00000050 00 02 67 00 00 00 02 68 00 00 00 01 69 00 00 00 |..g....h....i...|
00000060 06 6c 00 00 00 05 6d 00 00 00 03 6e 00 00 00 06 |.l....m....n....|
00000070 6f 00 00 00 0c 70 00 00 00 03 71 00 00 00 01 72 |o....p....q....r|
00000080 00 00 00 06 73 00 00 00 07 74 00 00 00 05 75 00 |....s....t....u.|
00000090 00 00 04 76 00 00 00 01 79 00 00 00 01 ff 00 00 |...v....y.......|
000000a0 00 01 00 00 02 28 b3 7d f7 87 0b 10 3d 99 9c 77 |.....(.}....=..w|
000000b0 cf 70 f5 53 43 bf 46 96 5a 72 04 f4 2e 9e e5 a9 |.p.SC.F.Zr......|
000000c0 06 fb cd 06 aa 6e 77 d7 a4 5c 49 5b 4f 63 e5 f1 |.....nw..\I[Oc..|
000000d0 33 0d 4d 15 d3 5f ff 8d 41 f5 dd 7d a6 55 63 b2 |3.M.._..A..}.Uc.|
000000e0 b9 b3 44 1a 09 ef ea 10 5a 73 f2 |..D.....Zs.|
000000eb
Verifica bene la tua variabile
n_bit
max@studio:~/tmp> ll test*
-rw-r--r-- 1 max users 125 7 gen 23:47 test
-rw-r--r-- 1 max users 235 7 gen 23:48 test.huf
-rw-r--r-- 1 max users 125 7 gen 23:48 test.out
max@studio:~/tmp>
max@studio:~/tmp> diff test test.out
max@studio:~/tmp>
Ora sono uguali all'ultimo byte
Sperando di chiudere questo topic,
Max